<%--
  Created by IntelliJ IDEA.
  User: 86178
  Date: 2020/12/21
  Time: 10:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/component/common.jsp" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
    <title>Title</title>
    <script src="${js}/jquery-1.9.1.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="${js}/jquery.dataTables.js"></script>
    <script src="${assets}/js/views/bpAbnormal.js"></script>
    <script src = "${assets}/js/views/vue.js"></script>
    <script src="${frames}/Chronic/laydate/laydate.js"></script>
    <script src="${assets}/js/bootstrap-datetimepicker.min.js"></script>
    <link rel="stylesheet" href="${frames}/css/lib/bootstrap.min.css" type="text/css" type="text/css">
    <link rel="stylesheet" href="${frames}/css/lib/dataTables.bootstrap.css" type="text/css">
    <link rel="stylesheet" href="${assets}/css/views/department/departmentMgr.css">
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">

    <%@ include file="/WEB-INF/jsp/component/commonBottom.jsp" %>
    <%--    风险筛查模块--%>
    <style>
        .color{
            margin:0 !important;
        }
        span{
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            font-family: PingFang-SC-Regular;
        }
        .illness span{
            height: 16px;
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
        }
        .save{
            width:100%;
            height: 50px;
            text-align: center;
        }
        .btn{
            /*float:right ;*/
            width:100px;
            font-size:16px;
            line-height:28px;
            margin: 0 auto;
            background:#35acfd !important;
            margin-right:15px !important;
            padding:0 !important;
        }
        .title{
            font-family: MicrosoftYaHei;
            font-size: 16px !important;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0.3px;
            color: #666666;
        }
        label{
            height: 16px;
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
        }
        /* 随访时间及方式 */
        .way,illness,sign,live,evaluate{
            margin-bottom:30px;
        }
        .way_content,illness_content{
            width:100%;
            margin-left:15px;
            margin-top:19px;
        }
        .way_content label{
            width:auto;
        }
        .way_content div{
            margin-bottom:20px;
        }
        .way_content input,#accompanyType{
            width: 15%;
            line-height: 30px;
            height:30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 14px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px !important;
        }
        /* 病症 */
        .illness_content{
            margin-left:15px;
            margin-bottom:20px;
        }
        .illness_content label{
            margin-left:22px;
        }
        input[type=checkbox] {
            width:20px;
            height:20px;
            -webkit-appearance: none;
            border-radius:5px;
            border:1px solid #9e9e9e;
            vertical-align:top;
            margin-top:7px;
            display:inline-block !important;
        }
        input[type=checkbox]:checked{
            background-image: url('${assets}/images/radio.png');
            background-size:100% 100%;
            border:none
        }
        .ill1{
            margin-right:22px;
            margin-top:20px;
        }
        /* 体征 */
        .sign_content{
            margin-left:15px;
            margin-top:20px;
            margin-bottom:20px;
        }
        .sign_content div input{
            width:180px;
            line-height: 30px;
            border: solid 1px #d0d0d0;
            text-indent:10px;
            position:absolute;
            height:30px;
            display:inline-block;
        }
        .sign_content div span{
            position:relative;
            left:130px;
        }
        .sign_content div{
            display:inline-block;
            width:270px;
        }
        .second div input{
            width:135px;
        }
        .second div span{
            left:80px;
        }
        /*.second div{*/
        /*width:230px;*/
        /*}*/
        .third div input{
            width:135px;
        }
        .third div span{
            left:80px;
        }
        .third div{
            width:200px;
        }
        /* 生活方式调查 */
        .live_content{
            margin-left:15px;
            margin-top:20px;
        }
        .live_content span{
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
            margin-right:19px;
            display:inline-block;
        }
        .live_content input{
            width: 115px;
            height: 30px;
            border: solid 1px #d0d0d0;
            line-height:30px;
            margin-right:10px;
            text-indent:10px;
        }
        .live_content div{
            margin-top:20px;
        }
        .sprots span{
            margin-right:65px;
        }
        #salt{
            width: 15%;
            height: 30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 15px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
            margin-right:19px;
        }
        .salt input{
            width: 180px;
            height: 30px;
            border: solid 1px #d0d0d0;
            line-height:30px;
            margin-right:10px;
            text-indent:10px;
        }
        .mentality{
            margin-bottom:20px;
        }
        select{
            width: 181px;
            height: 30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 15px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        .salttype{
            width: 200px;
            height: 30px;
        }
        /* 随访评估 */
        .evaluate_content{
            margin-left:15px;
            margin-bottom:20px;
            margin-top:20px;
        }
        .evaluate_content span{
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
            margin-right:19px;
            display:inline-block;
        }
        /* 治疗建议 */
        .suggest_content{
            margin-left:15px;
            margin-bottom:20px;
            margin-top:20px;
        }
        .suggest_content span{
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
            margin-right:19px;
            display:inline-block;
        }
        .suggest_content textarea{
            width: 500px;
            height: 120px;
            border: solid 1px #d0d0d0;
            vertical-align:top
        }
        #main{
            margin-top:0px !important;
        }
        /*  表格 */
        #dataTables th{
            height: 30px;
            background-color: #e6e6e6;
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #666666;
        }
        #dataTables td{
            text-align:center;
            height: 17px;
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
        }
        #mytool{
            width:96%;
        }
        #dataTables_paginate{
            margin-top:15px;
            width:100%;
            text-align: center;
            margin-bottom:40px;
        }
        button{
            margin-top:0px !important;
        }
        .btn{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0.3px;
            color: #ffffff;
        }
        textarea{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        input{
            text-indent:10px;
            font-family: MicrosoftYaHei;
            font-size: 14px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
        }
        .content{
            height:auto !important;
        }
        .illness{
            box-shadow:none !important;
            margin-top:0 !important;
            padding-top:20px;
        }
        .dataTables_empty{
            line-height:30px;
        }
        .default{
            border:1px solid red !important;
        }
        input{
            display:inline-block !important;
        }
        .warn{
            padding:30px;
            width:90% !important;
            background:#e6e6e6;
        }
        .warn ul li{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        label.questionLabel{
            margin-right:100px;
            text-indent: 1em;
        }
        /*input[type=radio] {*/
        /*    width:20px;*/
        /*    height:20px;*/
        /*    vertical-align:middle;*/
        /*    -webkit-appearance: none;*/
        /*    margin:0 !important;*/
        /*    border-radius:50%;*/
        /*    background-image: url('../../assets/images/nocheck.png');*/
        /*    background-size:100% 100%*/
        /*}*/
        /*input[type=radio]:checked{*/
        /*    background-image: url('../../assets/images/checkout.png');*/
        /*    background-size:100% 100%*/
        /*}*/
        .default{
            border:1px solid red !important;
        }
        .inputVal{
            position:absolute;
            height:30px;
        }
        .inputText{
            position:relative;
        }
        textarea{
            width: 800px;
            height: 180px;
            border: solid 1px #d0d0d0;
            vertical-align:top;
            text-indent:10px;
            font-family: MicrosoftYaHei;
            font-size: 14px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #333333;
        }
        .unit{
            position:relative;
            height:30px;
            margin-bottom:0px !important;
            vertiacl:middle;
            top:8px;
        }
        .unit input{
            position:absolute;
        }
        .unit span{
            position:absolute;
            left:80%;
        }
        .tables table{
            width:80%;
            border:1px solid #d0d0d0;
        }
        .tables tr th{
            text-align:center;
            height:38px;
            line-height:38px;
            border-bottom:1px solid #d0d0d0;
            border-right:1px solid #d0d0d0;
            width:50%;
            color:#666666;
            font-family:PingFang-SC-Regular
        }
    </style>
    <style>
        #checktable #dataTables tr td{
            /*border-bottom: 1px solid #333333;*/
        }
        body,html{
            width:100%;
        }
        li{
            list-style: none;
        }
        .first_news .news{
            width:100%;
            height:60px;
            line-height: 40px;
        }
        .first_news h3 {
            display: inline-block;
            float:left;
        }
        .first_news .updateInfo {
            width:100px;
            font-size:16px;
            line-height:28px;
            margin: 0 auto;
            background:#35acfd !important;
            /*margin-right:15px !important;*/
            margin:20px 15px 0 auto !important;
            padding:0 !important;
            display: inline-block;
            float:right;
        }

        .img {
            width: 12%;
        }

        .infor {
            width: 100%;
            margin-left: 2%;
        }
        .infor div{
            width:100%;
            height:30px;
        }
        .infor div span {
            float:left;
            color: #666666;
        }

        .color {
            margin: 0 !important;
        }
        .lives label {
            margin: 0 15px;
        }

        .content {
            display: flex;
        }
        .month{
            width:100%;
            display:block;
            height:35px;
            margin-bottom:0px;
            /*margin-bottom:-0.5px;*/
        }
        .month li{
            border:1px solid #d0d0d0;
            width:140px;
            line-height:35px;
            height:35px;
            text-align:center;
            color:#7e7e7e;
            font-size:17px;
            float:left;
            margin:0 -0.5px;
        }
        .month li:nth-child(1){
            width:84px;
        }


    </style>
    <style>
        .table tr{
            height:42px;
        }
        thead hr{
            border-top: none !important;
            border-bottom: none !important;
        }
        .dataTable{
            text-align:center;
        }
        thead{
            width:100%;
        }
        thead tr th{
            text-align:center !important;
        }
        /*.btn{*/
        /*    float:right ;*/
        /*    width:100px;*/
        /*    font-size:16px;*/
        /*    line-height:28px;*/
        /*    background:#35acfd !important;*/
        /*    margin-right:15px !important;*/
        /*    padding:0 !important;*/
        /*}*/
        /*.feritin input{*/
        /*    width:20px;*/
        /*    height:20px;*/
        /*    background:white;*/
        /*    vertical-align: middle;*/
        /*    margin-bottom:7px;*/
        /*}*/
        input[type=checkbox] {
            width:20px;
            height:20px;
            -webkit-appearance: none;
            border-radius:5px;
            border:1px solid #9e9e9e;
        }
        input[type=checkbox]:checked{
            background-image: url('${assets}/images/radio.png');
            background-size:100% 100%;
            border:none
        }
        input[type=radio] {
            width:20px !important;
            height:20px !important;
            vertical-align:sub !important;
        }
        <%--input[type=radio]:checked{--%>
        <%--    background-image: url('${assets}/images/checkout.png');--%>
        <%--    background-size:100% 100%--%>
        <%--}--%>
        .sign_content{
            margin-left:15px;
            margin-bottom:20px;
        }
        .sign_content label{
            line-height:30px;
        }
        .sign_content div input{
            width:140px;
            line-height: 30px;
            border: solid 1px #d0d0d0;
            text-indent:10px;
            position:absolute;
            height:30px;
            display:inline-block;
            vertical-align:middle;
        }
        .sign_content div span{
            position:relative;
            left:130px;
        }
        .sign_content div{
            display:inline-block;
            width:170px;
            margin-right:20px;
        }
        /*.checked{*/
        /*    background-image: url('../../../../assets/images/checkout.png') !important;*/
        /*    background-size:100% 100%*/
        /*}*/
        .ill1{
            width:auto;
            margin-right:15px;
            display:inline-block;
        }
        .ill1 label{
            margin:0 15px;
        }
        #tablepart p{
            width:100%;
            text-align:center;
            font-size:15px;
            line-height:40px;
            color:#333333;
        }
        #table p{
            width:100%;
            text-align:center;
            font-size:15px;
            line-height:40px;
            color:#333333;
        }
        .test p{
            width:100%;
            line-height:100px;
            font-size:15px;
            text-align:center;
        }
        img{
            max-width:100%;
            height:auto;
        }
        .img{
            width:130px;
        }
        /* first_news */
        #tablepart #dataTables tbody tr{
            cursor: pointer;
        }
        .dataTables_empty{
            width:100% !important;
            text-align:center;
            font-size:15px !important;
            line-height:40px !important;
            color:#333333 !important;
        }
        thead tr th{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 40px;
            letter-spacing: 0px;
            color: #999999;
        }
        td{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 40px;
            letter-spacing: 0px;
            color: #333333;
            border-bottom:1px solid #e6e6e6;
        }
        .other span{
            width:40.7%;
            margin-right:5%;
        }
        .chank{
            width:20%;
            overflow:hidden;
            margin-right:2%;
            vertical-align: middle;
            height:60px;
        }
        .chank:nth-child(1) label{
            width:70%;
        }
        .chank:nth-child(2) label{
            width:80%;
            position:absolute;
            top:5px;
        }
        .chank:nth-child(2){
            width:30%;
            position:relative;
        }
        .chank:nth-child(3){
            width:40%;
        }
        .chank:nth-child(5) label{
            width:80%;
            position:absolute;
            top:5px;
        }
        .firstShow input,select{
            width:150px;
            height:30px;
            line-height:30px;
            text-indent:20px;
            border:1px solid #d0d0d0;
            margin-left:15px;
        }
        .chank:nth-child(5){
            width:30%;
            position:relative;
        }
        .chank:nth-child(6) label{
            width:80%;
            position:absolute;
            top:5px;
            margin-left:4%;
        }
        .chank:nth-child(6){
            width:35%;
            position:relative;
        }
        .chank:nth-child(4) label{
            width:70%;
            position:absolute;
            top:5px;
            margin-left:4%;
        }
        .chank:nth-child(4){
            position:relative;
        }
        .chank label{
            margin-left:2%;
            word-wrap:break-word;
            vertical-align: middle;
            line-height: 120%;
        }
        #testtable tr th{
            width:24%;
        }
        #testtable tr th:nth-child(1){
            width:4%;
        }

        .text_content div span{
            font-weight:normal;
        }
        .title_xz{
            width:100px;
            display:inline-block;
        }
        .othernews label{
            display:inline-block;
            width:90px;
        }
        .othernews input{
            vertical:middle;
            width:60%;
            height:30px;
            line-height:30px;
            text-indent:20px;
            border:1px solid #d0d0d0;
        }
        .warn{
            width:90% !important;
            background:#e6e6e6;
        }

        select{
            width: 181px;
            height: 30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 15px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        /*.fade{*/
        /*cursor:pointer;*/
        /*display:inline-block;*/
        /*}*/
        .illnessTitle{
            width:23%;
            text-align:center;
            display:inline-block;
        }
        #liveMsg{
            width:50%;
            height:30px;
            line-height:30px;
            text-indent:20px;
            border:1px solid #d0d0d0;
            margin-left:0px;
        }
        #specRemark{
            vertical-align:top;
            width:85%;
            font-size:13px;
            line-height:20px;
            margin-top:2.5px;
            height:20px;
            display:inline-block;
        }
        /* 随访时间及方式 */
        .way,illness,sign,live,evaluate{
            margin-bottom:30px;
        }
        .way_content,illness_content{
            width:100%;
            margin-left:15px;
            margin-top:19px;
        }
        .way_content label{
            width:auto;
            height: 16px;
            line-height: 16px;
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
        }
        .way_content div{
            margin-bottom:20px;
        }
        .way_content input,#accompanyType{
            width: 15%;
            line-height: 30px;
            height:30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 14px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px !important;
        }
        .way_content select{
            width: 181px;
            height: 30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 15px;
            font-weight: normal;
            margin-left: 0;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        .way_content textarea{
            width: 800px;
            height: 180px;
            border: solid 1px #d0d0d0;
            vertical-align:top;
            text-indent:10px;
            font-family: MicrosoftYaHei;
            font-size: 14px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #333333;
        }
        /* 病症 */
        .illness_content{
            margin-left:15px;
            margin-bottom:20px;
        }
        .illness_content label{
            margin-left:22px;
        }
        input[type=checkbox] {
            width:20px;
            height:20px;
            -webkit-appearance: none;
            border-radius:5px;
            border:1px solid #9e9e9e;
            vertical-align:text-top;
            margin-top:0; /*7px*/
            display:inline-block !important;
        }
        input[type=checkbox]:checked{
            background-image: url('${assets}/images/radio.png');
            background-size:100% 100%;
            border:none
        }
        .ill1{
            margin-right:22px;
            margin-top:20px;
        }
        /* 体征 */
        .sign_content{
            margin-left:15px;
            margin-top:20px;
            margin-bottom:20px;
        }
        .sign_content div input{
            width:180px;
            line-height: 30px;
            border: solid 1px #d0d0d0;
            text-indent:10px;
            position:absolute;
            height:30px;
            display:inline-block;
        }
        .sign_content div span{
            position:relative;
            left:130px;
        }
        .sign_content div{
            display:inline-block;
            width:270px;
        }
        .second div input{
            width:135px;
        }
        .second div span{
            left:80px;
        }
        .third div input{
            width:135px;
        }
        .third div span{
            left:80px;
        }
        .third div{
            width:200px;
        }
        /* 生活方式调查 */
        .live_content{
            margin-left:15px;
            margin-top:20px;
        }
        .live_content span{
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
            margin-right:19px;
            display:inline-block;
        }
        .live_content input{
            width: 115px;
            height: 30px;
            border: solid 1px #d0d0d0;
            line-height:30px;
            margin-right:10px;
            text-indent:10px;
        }
        .live_content div{
            margin-top:20px;
        }
        .sprots span{
            margin-right:65px;
        }
        #salt{
            width: 15%;
            height: 30px;
            border: solid 1px #d0d0d0;
            font-family: MicrosoftYaHei;
            font-size: 15px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
            margin-right:19px;
        }
        .salt input{
            width: 180px;
            height: 30px;
            border: solid 1px #d0d0d0;
            line-height:30px;
            margin-right:10px;
            text-indent:10px;
        }
        .mentality{
            margin-bottom:20px;
        }
        .salttype{
            width: 200px;
            height: 30px;
        }
        /* 随访评估 */
        .evaluate_content{
            margin-left:15px;
            margin-bottom:20px;
            margin-top:20px;
        }
        .evaluate_content span{
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
            margin-right:19px;
            display:inline-block;
        }
        /* 治疗建议 */
        .suggest_content{
            margin-left:15px;
            margin-bottom:20px;
            margin-top:20px;
        }
        .suggest_content span{
            font-family: PingFang-SC-Regular;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #666666;
            margin-right:19px;
            display:inline-block;
        }
        .suggest_content textarea{
            width: 500px;
            height: 120px;
            border: solid 1px #d0d0d0;
            vertical-align:top
        }
        #main{
            margin-top:0px !important;
        }

        textarea{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        .warn{
            padding:30px;
            width:90% !important;
            background:#e6e6e6;
        }
        .warn ul li{
            font-family: MicrosoftYaHei;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 30px;
            letter-spacing: 0px;
            color: #333333;
            text-indent:10px;
        }
        /*input[type=radio] {*/
        /*    width:20px;*/
        /*    height:20px;*/
        /*    vertical-align:middle;*/
        /*    -webkit-appearance: none;*/
        /*    margin:0 !important;*/
        /*    border-radius:50%;*/
        /*    background-image: url('../../../../assets/images/nocheck.png');*/
        /*    background-size:100% 100%*/
        /*}*/
        /*input[type=radio]:checked{*/
        /*    background-image: url('../../../../assets/images/checkout.png');*/
        /*    background-size:100% 100%*/
        /*}*/
        /*  表格 */
        #dataTables tr td{
            text-align:center;
            height:50px;
            line-height:50px;
            color:#666666;
            font-family:PingFang-SC-Regular
        }
        /*随访记录模块*/
        #accompany .sign_content div{
            margin-right: 0;
        }
        /*tab*/
        .nav-tabs>li>a{
            border-radius:0 !important;
        }
        .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover{
            border-top:#337ab7 solid 3px !important;
        }
        /*.nav-tabs li:active{*/
        /*    */
        /*}*/
    </style>
</head>
<body>
<div>
    <%@ include file="../../../breadline.jsp" %>
</div>
<div id="main">
    <div id="header">
        <div class="page-header">
            <!-- /.page-header -->
            <ul class="nav nav-tabs" id="recent-tab">
                <li class="active" @click="changeTab(1)">
                    <a data-toggle="tab" href="#" style="font-size:18px;font-weight:bolder;display:inline-block;height:50px;">基本资料</a>
                </li>
                <li @click="changeTab(2)">
                    <a data-toggle="tab" href="#" style="font-size:18px;font-weight:bolder;display:inline-block;height:50px;">高危筛查</a>
                </li>
                <li @click="changeTab(3)">
                    <a data-toggle="tab" href="#" style="font-size:18px;font-weight:bolder;display:inline-block;height:50px;">首次问卷调查</a>
                </li>
                <li @click="changeTab(4)">
                    <a data-toggle="tab" href="#" style="font-size:18px;font-weight:bolder;display:inline-block;height:50px;">随访</a>
                </li>
                <li @click="changeTab(5)" class="service">
                    <a data-toggle="tab" href="#" style="font-size:18px;font-weight:bolder;display:inline-block;height:50px;">医疗服务</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="tab_content">
        <%--        基本资料--%>
        <div v-show="1 == num">
            <div style="padding-bottom:20px;background-color: #ffffff;box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.05);">
                <div style="margin-left:19px;">
                    <div class="first_news">
                        <div class="news" style="margin-top:15px;margin-bottom:16px;">
                            <h3>病人基本信息</h3>
                            <button type="button" class="btn btn-info updateInfo" @click="addDevice()" >
                                <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;">  修改
                            </button>
                            <shiro:hasPermission name="patient:update:idCard">
                                <button type="button" class="btn btn-info" @click="undateIdCard()" style="width:150px !important;padding:0 10px !important;margin-top:20px !important;line-height:28px;float:right;vertical-align: center;">
                                    <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;">  修改身份证
                                </button>
                            </shiro:hasPermission>
                            <button :disabled="dis" id="btnText" v-if="synchronous" type="button" class="btn btn-info" @click="Synchronous($event)">{{btnText}}</button>
                        </div>
                        <div style="display: flex;">
                            <div class="img" style="width:12%;">
                                <img src="${assets}/images/img1.png" alt="头像">
                            </div>
                            <div class="infor" style="width:80%;margin-left:2%;">
                                <div>
                                    <span style="width:17%;">姓名: &nbsp;{{infor.realname}}</span>
                                    <span style="width:15%;">性别: &nbsp;{{infor.sex}}</span>
                                    <span style="width:15%;">年龄: &nbsp;{{infor.age}}</span>
                                    <span style="width:22%;">出生日期: &nbsp;{{infor.birthday}}</span>
                                    <span>身份证号: &nbsp;{{infor.idcard}}</span>
                                </div>
                                <div>
                                    <span style="width:17%;">身高: &nbsp;{{infor.height}}cm</span>
                                    <span style="width:15%;">体重: &nbsp;{{infor.weight}}kg</span>
                                    <span style="width:15%;">BMI: &nbsp;{{infor.bMI}}</span>
                                    <span style="width:22%;">腰围: &nbsp;{{infor.waist}}cm</span>
                                    <span style="width:24%;">联系电话: &nbsp;{{infor.phone}}</span>
                                </div>
                                <div class="other">
                                    <span style="width:30%;margin-right:0;vertical-align:middle">地址: &nbsp;{{infor.homeaddress}}</span>
                                    <span style="width:33%;margin-right:0;vertical-align:middle">现患疾病诊断信息: &nbsp;{{infor.diseaseDiagnosis}}</span>
                                    <span class="type" style="width:20%;margin-left:5%;vertical-align:middle;">
                                <p :title="infor.diseasesType" style="overflow: hidden;-webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;">疾病类型: &nbsp;{{infor.diseasesType}}</p>
                            </span>
                                </div>
                                <div class="type" style="margin-top:13px;">
                                    <b style="margin-right:5%;font-weight: 100;">建档医生: &nbsp;{{infor.doctor}}</b>
                                    <b style="font-weight: 100;margin-right:5%;">建档机构: &nbsp;{{infor.hospName}}</b>
                                    <b style="font-weight: 100;">备注: &nbsp;{{infor.remark}}<br/></b>
                                    <b style="font-weight: 100;" id="bgRemark"></b>
                                    <b style="font-weight: 100;" id="bpRemark"></b>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <%--            <%@ include file="../../../personalnews.jsp" %>--%>
        </div>
        <%--        高危筛查--%>
        <div v-show="2 == num" id="highrisk">
            <div class="illness" style="width:99%; margin-right:19px;padding:0">
                <div class="tableWrap" style="padding:0 0 20px 0;background-color: #ffffff;box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.05);">
                    <%--                    <div style="margin-left:20px;">--%>
                    <%--                        <h3 style="margin-bottom:16px;font-size:20px;line-height: 40px;">风险筛查</h3>--%>
                    <%--                    </div>--%>
                    <div style="margin-left:20px;">
                        <h3 style="margin-bottom:16px;font-size:20px;padding-top: 10px;">风险筛查</h3>
                        <%--                        <button type="button" class="btn btn-info" @click="keep()">--%>
                        <%--                            <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;">  保存--%>
                        <%--                        </button>--%>
                    </div>
                    <div style="margin-left:19px;">
                        <div class="way" style="margin-bottom:20px;">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">筛查时间</span>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <label for="">筛查时间：</label>
                                    <div style="display:inline-block;vertical-align:middle;margin-bottom:5px;">
                                        <div id="PrevTime" class="input-group date form_date" style="width: 100%;margin-bottom:0px;"  data-date-format="yyyy-mm-dd" >
                                            <input id="screeningTime" type="text" style="width:181px;" class="lay-date" placeholder="筛查时间" readonly>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">一分钟风险测试</span>
                            <div class="way_content">
                                <div>
                                    <p>您好！如测试结果有一题回答为“是”，即为阳性，建议双能骨密度（DXA）检测。</p>
                                </div>
                                <div class="ques">
                                    <div class="humback">
                                        <label>1. 父母曾被诊断有骨质疏松或曾在轻摔后骨折？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" id="hadBlYes" name="hadBl" value="1" v-model="blData.hadBl">
                                        <label name="humpbackYes" class="checked questionLabel" for="humpbackYes">是</label>
                                        <input type="radio" id="hadBlNo" name="hadBl" value="0" v-model="blData.hadBl" @change="getRadioVal">
                                        <label name="humpbackNo" for="humpbackNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="hadBl">
                                        <label>2. 父母中一人有驼背？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" id="humpbackYes" name="humpback" value="1" v-model="blData.humpback" @change="getRadioVal">
                                        <label class="checked questionLabel" for="humpbackYes">是</label>
                                        <input type="radio" id="humpbackNo" name="humpback" value="0" v-model="blData.humpback" @change="getRadioVal">
                                        <label for="humpbackNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="ageForty">
                                        <label>3. 实际年龄超过60岁？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="ageForty" id="ageFortyYes" value="1" v-model="blData.ageForty">
                                        <label name="humpbackYes" class="checked questionLabel" for="humpbackYes">是</label>
                                        <input type="radio" id="ageFortyNo" name="ageForty" value="0" v-model="blData.ageForty" @change="getRadioVal">
                                        <label name="ageFortyNo" for="ageFortyNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="fallFracture">
                                        <label>4. 是否成年后因为轻摔后发生骨折？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="fallFracture" id="fallFractureYes" value="1" v-model="blData.fallFracture">
                                        <label class="checked questionLabel" for="fallFractureYes">是</label>
                                        <input type="radio" id="fallFractureNo" name="fallFracture" value="0" v-model="blData.fallFracture" @change="getRadioVal">
                                        <label for="fallFractureNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="oftenFall">
                                        <label>5. 是否经常摔倒（去年超过一次），或者因为身体较虚弱而担心摔倒？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="oftenFall" id="oftenFallYes" value="1" v-model="blData.oftenFall">
                                        <label class="checked questionLabel" for="oftenFallYes">是</label>
                                        <input type="radio" id="oftenFallNo" name="oftenFall" value="0" v-model="blData.oftenFall">
                                        <label for="oftenFallNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="reduceHeight">
                                        <label>6. 40 岁后的身高是否减少超过 3cm 以上？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="reduceHeight" id="reduceHeightYes" value="1" v-model="blData.reduceHeight">
                                        <label class="checked questionLabel" for="reduceHeightYes">是</label>
                                        <input type="radio" id="reduceHeightNo" name="reduceHeight" value="0" v-model="blData.reduceHeight">
                                        <label for="reduceHeightNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="lowWeight">
                                        <label>7. 是否体质量过轻？(BMI 值少于 19 kg/m2）？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="lowWeight" id="lowWeightYes" value="1" v-model="blData.lowWeight">
                                        <label class="checked questionLabel" for="lowWeightYes">是</label>
                                        <input type="radio" id="lowWeightNo" name="lowWeight" value="0" v-model="blData.lowWeight">
                                        <label for="lowWeightNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="medicineThreeMonth">
                                        <label>8. 是否曾服用类固醇激素（例如可的松，泼尼松）连续超过 3 个月？ （可的松通常用于治疗哮喘、类风湿关节炎和某些炎性疾病）</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="medicineThreeMonth" id="medicineThreeMonthYes" value="1" v-model="blData.medicineThreeMonth">
                                        <label class="checked questionLabel" for="medicineThreeMonthYes">是</label>
                                        <input type="radio" id="medicineThreeMonthNo" name="medicineThreeMonth" value="0" v-model="blData.medicineThreeMonth">
                                        <label for="medicineThreeMonthNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="arthritis">
                                        <label>9. 是否患有类风湿性关节炎？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="arthritis" id="arthritisYes" value="1" v-model="blData.arthritis">
                                        <label class="checked questionLabel" for="arthritisYes">是</label>
                                        <input type="radio" id="arthritisNo" name="arthritis" value="0" v-model="blData.arthritis">
                                        <label for="arthritisNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="thyroid">
                                        <label>10. 是否被诊断出有甲状腺功能亢进或是甲状旁腺功能亢进、I 型糖尿病、克罗恩病或乳糜泻等胃肠疾病或营养不良？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="thyroid" id="thyroidYes" value="1" v-model="blData.thyroid">
                                        <label class="checked questionLabel" for="thyroidYes">是</label>
                                        <input type="radio" id="thyroidNo" name="thyroid" value="0" v-model="blData.thyroid">
                                        <label for="thyroidNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="menstruation">
                                        <label>11. 女士回答：是否在 45 岁或以前就停经？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="menstruationAgo" id="menstruationAgoYes" value="1" v-model="blData.menstruationAgo">
                                        <label class="checked questionLabel" for="menstruationAgoYes">是</label>
                                        <input type="radio" id="menstruationAgoNo" name="menstruationAgo" value="0" v-model="blData.menstruationAgo">
                                        <label for="menstruationAgoNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="menstruationAgo">
                                        <label>12. 女士回答：除了怀孕、绝经或子宫切除外，是否曾停经超过 12 个月？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="menstruation" id="menstruationYes" value="1" v-model="blData.menstruation">
                                        <label class="checked questionLabel" for="menstruationYes">是</label>
                                        <input type="radio" id="menstruationNo" name="menstruation" value="0" v-model="blData.menstruation">
                                        <label for="menstruationNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="estrogen">
                                        <label>13. 女士回答：是否在 50 岁前切除卵巢又没有服用雌/孕激素补充剂？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="menstruationAgo" id="estrogenYes" value="1" v-model="blData.estrogen">
                                        <label class="checked questionLabel" for="estrogenYes">是</label>
                                        <input type="radio" id="estrogenNo" name="menstruationAgo" value="0" v-model="blData.estrogen">
                                        <label for="estrogenNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="androgen">
                                        <label>14. 男性回答：是否出现过阳痿、性欲减退或其他雄激素过低的相关症状？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="androgen" id="androgenYes" value="1" v-model="blData.androgen">
                                        <label class="checked questionLabel" for="androgenYes">是</label>
                                        <input type="radio" id="androgenNo" name="androgen" value="0" v-model="blData.androgen">
                                        <label for="androgenNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="drinkWine">
                                        <label>15. 是否经常大量饮酒（每天饮用超过两单位的乙醇，相当于啤酒 1 斤、葡萄酒 3 两或烈性酒 1 两）？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="drinkWine" id="drinkWineYes" value="1" v-model="blData.drinkWine">
                                        <label class="checked questionLabel" for="drinkWineYes">是</label>
                                        <input type="radio" id="drinkWineNo" name="drinkWine" value="0" v-model="blData.drinkWine">
                                        <label for="drinkWineNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="smoke">
                                        <label>16. 目前习惯吸烟或曾经吸烟？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="smoke" id="smokeYes" value="1" v-model="blData.smoke">
                                        <label class="checked questionLabel" for="smokeYes">是</label>
                                        <input type="radio" id="smokeNo" name="smoke" value="0" v-model="blData.smoke">
                                        <label for="smokeNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="sportLess">
                                        <label>17. 每天运动量少于 30min？（包括做家务、走路和跑步等）</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="sportLess" id="sportLessYes" value="1" v-model="blData.sportLess">
                                        <label class="checked questionLabel" for="sportLessYes">是</label>
                                        <input type="radio" id="sportLessNo" name="sportLess" value="0" v-model="blData.sportLess">
                                        <label for="sportLessNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="notCalcium">
                                        <label>18. 是否不能食用乳制品，又没有服用钙片？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="notCalcium" id="notCalciumYes" value="1" v-model="blData.notCalcium">
                                        <label class="checked questionLabel" for="notCalciumYes">是</label>
                                        <input type="radio" id="notCalciumNo" name="notCalcium" value="0" v-model="blData.notCalcium">
                                        <label for="notCalciumNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                                <div class="ques">
                                    <div class="sport">
                                        <%--                                        <label>19. 不食用乳制品同时没有服用钙片？</label>--%>
                                        <label>19. 每天从事户外活动时间是否少于 10min，又没有服用维生素 D？</label>
                                    </div>
                                    <div class="choose">
                                        <input type="radio" name="sport" id="sportYes" value="1" v-model="blData.sport">
                                        <label class="checked questionLabel" for="sportYes">是</label>
                                        <input type="radio" id="sportNo" name="sport" value="0" v-model="blData.sport">
                                        <label for="sportNo" class="questionLabel">否</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">超声骨测量</span>
                            <div class="way_content">
                                <div>
                                    <input type="text" name="check" id="check" ref="check" v-model="blData.checkResult">
                                    <%--                                    <label for="check">是否已查：</label>--%>
                                    <%--                                    <select name="check" id="check" ref="check" v-model="blData.check">--%>
                                    <%--                                        <option value="">请选择</option>--%>
                                    <%--                                        <option value="1">是</option>--%>
                                    <%--                                        <option value="0">否</option>--%>
                                    <%--                                    </select>--%>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">FRAX结果：</span>
                            <div class="way_content">
                                <label for="osteoporosis" >主要骨质疏松性骨折概率：</label>
                                <input type="text" placeholder="请输入内容" v-model="blData.osteoporosis" maxlength="3" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                <label for="fracture" style="margin-left:20px;" >髋部骨折概率：</label>
                                <input type="text" placeholder="请输入内容" v-model="blData.fracture" maxlength="3" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">OSTA计算</span>
                            <div class="way_content">
                                <div>
                                    <label>结果≤-1（建议双能骨密度（DXA）检测）</label>
                                </div>
                                <div>
                                    <label>OSTA指数=【体质量（kg）-年龄（岁）】*0.2（仅限于女性使用）</label>
                                </div>
                                <div class="tables">
                                    <table>
                                        <thead>
                                        <tr>
                                            <th>
                                                风险级别
                                            </th>
                                            <th>
                                                OSTA
                                            </th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <tr>
                                            <th>
                                                <p>{{blData.riskLevel}}</p>
                                            </th>
                                            <th>
                                                <p>{{blData.osta}}</p>
                                            </th>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <div class="way" style="text-align: center;height:80px;">
                            <button type="button" class="btn btn-info" @click="dangerFilter()">
                                <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;"> 保存
                            </button>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <%--        首次问卷调查--%>
        <div v-show="3 == num" class="aa">
            <div id="questionnaire">
                <div class="illness" style="width:99%; margin-right:19px;">
                    <div class="tableWrap"
                         style="padding:0 0 20px 0;background-color: #ffffff;box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.05);margin-top: -40px;">
                        <div style="margin-left:20px;">
                            <h3 style="margin-bottom:16px;font-size:20px;padding-top: 10px;">首次问卷调查</h3>
                        </div>
                        <div class="way" style="margin-top: 30px;">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;margin-left: 20px;"></span>
                            <span class="title">基本信息</span>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <label for="queryTime">随访日期：</label>
                                    <div class="input-group date form_date" data-date-format="yyyy-mm-dd"
                                         style="display:inline-block !important;width:15%;">
                                        <%--                                        <input id="queryTime" v-model="checkData.accompanyTime" type="text" class="lay-date"--%>
                                        <%--                                               readonly style="width:100% !important;">--%>
                                        <input id="queryTime" type="text" class="lay-date"
                                               readonly style="width:100% !important;">
                                    </div>
                                </div>
                                <div style="margin-bottom:0px;">
                                    <label for="surveyer">调查员：</label>
                                    <input id="surveyer" type="text" class="height form-control" v-model="checkData.surveyer">
                                    <label for="surveyerPhone">调查员手机号：</label>
                                    <input type="text" class="weightGuide form-control weight"
                                           v-model="checkData.surveyerPhone">
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;margin-left: 20px;"></span>
                            <span class="title">问卷调查表</span>
                            <div class="way_content">
                                <%-- 可以显示的随访类型：首次 --%>
                                <div v-if="checkData.blNoMedicalType == 0">
                                    <label class="dxaDo" style="width:100%;height:32px;">（1）曾经是否做过DXA检查（双能x线骨密度）？</label>
                                    <div class="choice" style="width:20%;padding-left:10px;">
                                        <input type="radio" name="dxaDo" id="dxaDoYes" value="2" v-model="checkData.dxaDo">
                                        <label for="smoke" style="width:60px;margin-right:40px;">是</label>
                                        <input type="radio" name="dxaDo" id="dxaDoNo" value="1" v-model="checkData.dxaDo" style="width:60px;">
                                        <label for="smoke">否</label>
                                    </div>
                                </div>
                                <div v-if="checkData.dxaDo == 1" style="padding-left:15px;">
                                    <label class="dxaKnow" style="width:100%;">是否知道有这项DXA检查？</label>
                                    <div class="choice" style="width:20%;padding-left:10px;">
                                        <input type="radio" name="dxaKnow" id="dxaKnowYes" value="2" v-model="checkData.dxaKnow">
                                        <label for="dxaKnow" style="width:60px;margin-right:40px;">是</label>
                                        <input type="radio" name="dxaKnow" id="dxaKnowNo" value="1" v-model="checkData.dxaKnow" style="width:60px;">
                                        <label for="smoke">否</label>
                                    </div>
                                    <%--                                    --%>
                                    <%--                                    --%>
                                    <%--                                    <label for="dxaKnow">是否知道有这项DXA检查？</label>--%>
                                    <%--                                    <select name="dxaKnow" id="dxaKnow" v-model="checkData.dxaKnow">--%>
                                    <%--                                        <option value="" selected="selected">请选择</option>--%>
                                    <%--                                        <option value="1">知道</option>--%>
                                    <%--                                        <option value="2">不知道</option>--%>
                                    <%--                                    </select>--%>
                                </div>
                                <div v-if="checkData.dxaDo == 2">
                                    <label for="dxaDoTime">骨折前还是骨折后做的DXA检查？</label>
                                    <select name="dxaDoTime" id="dxaDoTime"
                                            v-model="checkData.dxaDoTime">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">骨折前</option>
                                        <option value="2">骨折后</option>
                                    </select>
                                    <input type="number" class="height form-control" v-model="checkData.dxaCountPerYear">
                                    <span>次/年</span>
                                    <span>*</span>
                                    <input type="number" class="height form-control" v-model="checkData.dxaYears">
                                    <span>年</span>
                                </div>
                                <div class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;margin-right:50px;">
                                        <label for="height">（2）身高：</label>
                                        <input type="text" name="height" id="height" class="height form-control"
                                               v-model="checkData.height">
                                        <span style="left:100px;">cm</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="weight">体重：</label>
                                        <input type="text" name="weight" id="weight" class="weightGuide form-control weight"
                                               v-model="checkData.weight">
                                        <span style="left:105px;">kg</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="bmi">BMI：</label>
                                        <input type="text" name="bmi" id="bmi" class="bmi form-control" v-model="BMI">
                                        <span style="left:80px;">kg/m²</span>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:6px 0;">
                                        <div style="margin-bottom:0px;height:45px;">
                                            <div class="choice" style="width:350px;padding-left:10px;display:inline-block;">
                                                <label class="dxaKnow" style="display:inline-block;">驼背:</label>
                                                <input type="radio" name="humpback" id="humpbackYes" value="2" v-model="checkData.humpback" style="margin-top:13px;">
                                                <label for="humpbackYes" style="width:60px;margin-left:40px;line-height:45px;">是</label>
                                                <input type="radio" name="humpback" id="humpbackNo" value="1" v-model="checkData.humpback" style="width:60px;margin-top:13px;">
                                                <label for="humpbackNo" style="width:60px;margin-left:40px;line-height:45px;">否</label>
                                            </div>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="bmi">身高缩短(较年轻时)：</label>
                                            <input type="text" name="heightLessItem" id="heightLessItem" class="bmi form-control" v-model="checkData.heightLessItem">
                                            <span style="left:80px;">cm</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="sign_content third" style="margin-left:0px;margin-bottom:20px;"
                                     v-if="checkData.blNoMedicalType == 0">
                                    <div style="margin-bottom:0px;">
                                        <label for="menopause" style="line-height: 30px;margin-right:8px;">（3）女性回答：绝经年龄</label>
                                        <input type="text" name="menopause" id="menopause" class="height form-control"
                                               v-model="checkData.menopause">
                                        <%--                                        <span style="left:100px;">岁</span>--%>
                                    </div>
                                    <div style="margin-bottom:0px; margin-left: 120px">
                                        <label for="gestation">妊娠次数：</label>
                                        <input type="text" name="gestation" id="gestation" class="weightGuide form-control weight"
                                               v-model="checkData.gestation">
                                        <%--                                        <span style="left: 110px;">次</span>--%>
                                    </div>
                                </div>
                                <%--                                    、、、、、、、、、、、、--%>
                                <div>
                                    <label for="smoke">（4）吸烟：</label>
                                    <input type="radio" name="smoke" id="smokeYes" value="2" v-model="checkData.smoke">
                                    <label for="smoke">是</label>
                                    <input type="radio" name="smoke" id="smokeNo" value="1" v-model="checkData.smoke">
                                    <label for="smoke">否</label>
                                    <div v-if="checkData.smoke == 2" style="margin-top: 20px;padding-left:28px;">
                                        <label for="smoke">吸烟：</label>
                                        <input type="text" name="smokeYear" id="smokeYear" class="weightGuide form-control weight"
                                               v-model="checkData.smokeYear">
                                        <span style="left:105px;">年</span>
                                        <input type="radio" name="quitSmoking" id="quitSmokingYes" value="1" v-model="checkData.quitSmoking">

                                        <label for="quitSmokingYes" style="margin-left:10px;">已戒</label>
                                        <input type="radio" name="quitSmoking" id="quitSmokingNo" value="0" v-model="checkData.quitSmoking">
                                        <label for="quitSmokingNo">未戒</label>
                                    </div>
                                    <%--                                <div>--%>
                                    <%--                                    、、、、、--%>
                                    <%--                                    <label for="smoke">（4）吸烟：</label>--%>
                                    <%--                                    <input type="radio" name="smoke" id="smokeYes" value="2" v-model="checkData.smoke">--%>
                                    <%--                                    <label for="smokeYes">是</label>--%>
                                    <%--                                    <input type="radio" name="smoke" id="smokeNo" value="1" v-model="checkData.smoke">--%>
                                    <%--                                    <label for="smokeNo">否</label>--%>
                                    <%--                                    <div v-if="checkData.smoke == 2" style="margin-top: 20px;padding-left:28px;">--%>
                                    <%--                                        <span style="left:105px;">吸烟</span>--%>
                                    <%--                                        <input type="text" name="smokeYear" id="smokeYear" class="weightGuide form-control weight"--%>
                                    <%--                                               v-model="checkData.smokeYear">--%>
                                    <%--                                        <span style="left:105px;">年</span>--%>
                                    <%--                                        <input type="radio" name="quitSmoking" id="quitSmokingYes" value="1" v-model="checkData.quitSmoking">--%>

                                    <%--                                        <label for="quitSmokingYes" style="margin-left:10px;">已戒</label>--%>
                                    <%--                                        <input type="radio" name="quitSmoking" id="quitSmokingNo" value="0" v-model="checkData.quitSmoking">--%>
                                    <%--                                        <label for="quitSmokingNo">未戒</label>--%>
                                    <%--                                    </div>--%>
                                    <%--                                    <span v-if="checkData.smoke == 2">--%>
                                    <%--                            <input type="text" name="smokeCountPerDay" id="smokeCountPerDay" class="height form-control"--%>
                                    <%--                                   v-model="checkData.smokeCountPerDay">--%>
                                    <%--                            <span style="left:100px;">支/天*</span>--%>
                                    <%--                            <input type="text" name="smokeYear" id="smokeYear" class="weightGuide form-control weight"--%>
                                    <%--                                   v-model="checkData.smokeYear">--%>
                                    <%--                            <span style="left:105px;">年</span>--%>
                                    <%--                        </span>--%>
                                </div>
                                <div>
                                    <label for="drink">（5）饮酒：</label>
                                    <%--                                    <select name="drink" id="drink" v-model="checkData.drink">--%>
                                    <%--                                        <option value="" selected="selected">请选择</option>--%>
                                    <%--                                        <option value="1">否</option>--%>
                                    <%--                                        <option value="2">是</option>--%>
                                    <%--                                    </select>--%>
                                    <input type="radio" name="drink" id="drinkYes" v-model="checkData.drink" value="2">
                                    <label for="drink">是</label>
                                    <input type="radio" name="drink" id="drinkNo" v-model="checkData.drink" value="1">
                                    <label for="drink">否</label>

                                    <div v-if="checkData.drink == 2" style="margin-top: 20px;padding-left:28px;">
                                        <label for="drinkType">喝哪种酒？</label>
                                        <select name="drinkType" id="drinkType" v-model="checkData.drinkType">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">啤酒</option>
                                            <option value="2">葡萄酒</option>
                                            <option value="3">白酒</option>
                                            <option value="4">黄酒</option>
                                        </select>

                                        <label for="drinkMl">饮酒量：</label>
                                        <input type="text" name="drinkMl" id="drinkMl" class="height form-control"
                                               v-model="checkData.drinkMl">
                                        <span style="left:100px;">ml/天*</span>
                                        <input type="text" name="drinkYear" id="drinkYear" class="weightGuide form-control weight"
                                               v-model="checkData.drinkYear">
                                        <span style="left:105px;">年</span>
                                    </div>
                                </div>
                                <div>
                                    <label for="tea">（6）喝浓茶：</label>
                                    <%--                                    <select name="tea" id="tea" v-model="checkData.tea">--%>
                                    <%--                                        <option value="" selected="selected">请选择</option>--%>
                                    <%--                                        <option value="1">否</option>--%>
                                    <%--                                        <option value="2">是</option>--%>
                                    <%--                                    </select>--%>
                                    <input type="radio" name="tea" id="teaYes" v-model="checkData.tea" value="2">
                                    <label for="teaYes">是</label>
                                    <input type="radio" name="tea" id="teaNo" v-model="checkData.tea" value="1">
                                    <label for="teaNo">否</label>
                                    <div v-if="checkData.tea == 2" style="margin-top: 20px;padding-left:28px;">
                                        <label for="teaType">哪种茶？</label>
                                        <select name="teaType" id="teaType" v-model="checkData.teaType">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">红茶</option>
                                            <option value="2">绿茶</option>
                                            <option value="3">其他</option>
                                        </select>
                                    </div>
                                </div>
                                <div>
                                    <div>
                                        <label for="coffee">（7）喝咖啡：</label>
                                        <input type="radio" name="coffee" id="coffeeYes" v-model="checkData.coffee" value="2">
                                        <label for="coffeeYes">是</label>
                                        <input type="radio" name="coffee" id="coffeeNo" v-model="checkData.coffee" value="1">
                                        <label for="coffeeNo">否</label>
                                        <div v-if="checkData.coffee == 2" style="margin-top: 20px;padding-left:28px;">
                                            <input type="text" name="coffeeMl" id="coffeeMl" class="height form-control"
                                                   v-model="checkData.coffeeMl">
                                            <span style="left:100px;">杯/天*</span>
                                            <input type="text" name="coffeeYear" id="coffeeYear" class="weightGuide form-control weight"
                                                   v-model="checkData.coffeeYear">
                                            <span style="left:105px;">年</span>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <label for="milk">（8）乳制品？</label>
                                    <input type="radio" name="milk" id="milkYes" v-model="checkData.milk" value="2">
                                    <label for="milkYes">是</label>
                                    <input type="radio" name="milk" id="milkNo" v-model="checkData.milk" value="1">
                                    <label for="milkNo">否</label>
                                    <div v-if="checkData.milk == 2" style="margin-top: 20px;padding-left:28px;">
                                        <%--                                        <label for="milkType">哪种乳制品？</label>--%>
                                        <select name="milkType" id="milkType" v-model="checkData.milkType">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">新鲜牛奶</option>
                                            <option value="2">酸奶</option>
                                            <option value="3">奶粉</option>
                                        </select>

                                        <%--                                        <label for="milkMl">饮用量：</label>--%>
                                        <input type="text" name="milkMl" id="milkMl" class="height form-control"
                                               v-model="checkData.milkMl">
                                        <span style="left:100px;">ml/天*</span>
                                        <input type="text" name="milkYear" id="milkYear" class="weightGuide form-control weight"
                                               v-model="checkData.milkYear">
                                        <span style="left:105px;">年</span>
                                    </div>
                                </div>
                                <div>
                                    <label for="dietary">（9）饮食习惯</label>
                                    <input type="radio" id="dietaryYes" name="dietary" v-model="checkData.dietary" value="2">
                                    <label for="dietaryYes">普通膳食</label>
                                    <input type="radio" id="dietaryNo" name="dietary" v-model="checkData.dietary" value="1">
                                    <label for="dietaryNo">素食或基本素食</label>
                                </div>
                                <div>
                                    <label for="sun">（10）晒太阳</label>
                                    <input type="radio" name="sun" id="sunYes" v-model="checkData.sunbathe" value="2">
                                    <label for="sunYes">是（每天30分钟，3天/周以上）</label>
                                    <input type="radio" name="sun" id="sunNo" v-model="checkData.sunbathe" value="1">
                                    <label for="sunNo">否</label>
                                </div>
                                <div>
                                    <label for="exercise">（11）经常运动：</label>
                                    <input type="radio" name="exercise" id="exerciseYes" v-model="checkData.exercise" value="2">
                                    <label for="exerciseYes">是</label>
                                    <input type="radio" name="exercise" id="exerciseNo" v-model="checkData.exercise" value="1">
                                    <label for="exerciseNo">否</label>
                                    <div v-if="checkData.exercise == 2" style="margin-top: 20px;padding-left:28px;">
                                        <%--                                        <label for="exerciseMinPerDay">平均运动时间：</label>--%>
                                        <input type="text" name="exerciseMinPerDay" id="exerciseMinPerDay"
                                               class="height form-control"
                                               v-model="checkData.exerciseMinPerDay">
                                        <span style="left:100px;">小时/天*</span>
                                        <input type="text" name="exerciseYear" id="exerciseYear"
                                               class="weightGuide form-control weight"
                                               v-model="checkData.exerciseYear">
                                        <span style="left:105px;">年</span>
                                        <label for="exerciseType">运动方式：</label>
                                        <select name="exerciseType" id="exerciseType" v-model="checkData.exerciseType">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">散步</option>
                                            <option value="2">快走</option>
                                            <option value="3">舞蹈</option>
                                            <option value="4">太极拳</option>
                                            <option value="5">游泳</option>
                                            <option value="6">跑步</option>
                                            <option value="7">其他</option>
                                        </select>
                                    </div>
                                </div>
                                <div>
                                    <label for="fall">（12）跌倒次数（近1年）：</label>
                                    <input type="radio" name="fall" id="fallNo" v-model="checkData.fall" value="1">
                                    <label for="fallNo">无</label>
                                    <input type="radio" name="fall" id="fallOne" v-model="checkData.fall" value="2">
                                    <label for="fallOne">1次</label>
                                    <input type="radio" name="fall" id="fallTwice" v-model="checkData.fall" value="3">
                                    <label for="fallTwice">>1次</label>
                                </div>
                                <div>
                                    <label for="selffractu">（13）本人骨折史：</label>
                                    <input type="radio" name="selffractu" id="selffractuYes" v-model="checkData.selffractu" value="2">
                                    <label for="selffractuYes">有</label>
                                    <input type="radio" name="selffractu" id="selffractuNo" v-model="checkData.selffractu" value="1">
                                    <label for="selffractuNo">否</label>
                                    <div v-if="checkData.selffractu==2"  style="margin-top:20px;padding-left:28px;">
                                        <div>
                                            <label for="selffractuFirstAge">时间：</label>
                                            <input type="text" name="selffractuFirstAge" id="selffractuFirstAge"
                                                   class="height form-control"
                                                   v-model="checkData.selffractuFirstAge">
                                            <span style="left:100px;">岁；</span>
                                            <label for="selffractuFirstPlace">部位：</label>
                                            <select name="selffractuFirstPlace" id="selffractuFirstPlace"
                                                    v-model="checkData.selffractuFirstPlace">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">髋部</option>
                                                <option value="2">椎体</option>
                                                <option value="3">前臂</option>
                                                <option value="4">肱骨</option>
                                                <option value="5">其他；</option>
                                            </select>
                                            <label for="selffractuFirstReason">原因：</label>
                                            <select name="selffractuFirstReason" id="selffractuFirstReason"
                                                    v-model="checkData.selffractuFirstReason">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">脆性</option>
                                                <option value="2">暴力；</option>
                                            </select>
                                        </div>
                                        <div class="operation">
                                            <label for="operation">手术名称：</label>
                                            <input type="radio" name="selffractuFirstSurgery" id="selffractuFirstSurgery1" v-model="checkData.selffractuFirstSurgery" value="1">
                                            <label for="selffractuFirstSurgery1" style="margin-right:15px;">髋关节置换/内固定</label>
                                            <input type="radio" name="selffractuFirstSurgery" id="selffractuFirstSurgery2" v-model="checkData.selffractuFirstSurgery" value="2">
                                            <label for="selffractuFirstSurgery2" style="margin-right:15px;">椎体成形术</label>
                                            <input type="radio" name="selffractuFirstSurgery" id="selffractuFirstSurgery3" v-model="checkData.selffractuFirstSurgery" value="3">
                                            <label for="selffractuFirstSurgery3">其他</label>
                                        </div>
                                        <div>
                                            <label for="selffractuSecondAge">时间：</label>
                                            <input type="text" name="selffractuSecondAge" id="selffractuSecondAge"
                                                   class="height form-control"
                                                   v-model="checkData.selffractuSecondAge">
                                            <span style="left:100px;">岁；</span>
                                            <label for="selffractuSecondPlace">部位：</label>
                                            <select name="selffractuSecondPlace" id="selffractuSecondPlace"
                                                    v-model="checkData.selffractuSecondPlace">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">髋部</option>
                                                <option value="2">椎体</option>
                                                <option value="3">前臂</option>
                                                <option value="4">肱骨</option>
                                                <option value="5">其他；</option>
                                            </select>
                                            <label for="selffractuSecondReason">原因：</label>
                                            <select name="selffractuSecondReason" id="selffractuSecondReason"
                                                    v-model="checkData.selffractuSecondReason">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">脆性</option>
                                                <option value="2">暴力；</option>
                                            </select>
                                        </div>
                                        <div class="operation">
                                            <label for="operation">手术名称：</label>
                                            <input type="radio" name="selffractuSecondSurgery" id="selffractuSecondSurgery1" v-model="checkData.selffractuSecondSurgery" value="1">
                                            <label for="selffractuSecondSurgery1" style="margin-right:15px;">髋关节置换/内固定</label>
                                            <input type="radio" name="selffractuSecondSurgery" id="selffractuSecondSurgery2" v-model="checkData.selffractuSecondSurgery" value="2">
                                            <label for="selffractuSecondSurgery2" style="margin-right:15px;">椎体成形术</label>
                                            <input type="radio" name="selffractuSecondSurgery" id="selffractuSecondSurgery3" v-model="checkData.selffractuSecondSurgery" value="3">
                                            <label for="selffractuSecondSurgery3">其他</label>
                                        </div>

                                    </div>
                                </div>
                                <div>
                                    <label style="display:block;">（14）家族史：</label>
                                    <div class="parentOsteoporosis">
                                        <label id="parentOsteoporosis"style="text-indent: 1em;">父/母亲骨质疏松病史</label>
                                        <input type="radio" name="parentOsteoporosis" id="parentOsteoporosisYes" v-model="checkData.parentOsteoporosis" value="1">
                                        <label for="parentOsteoporosisYes">有</label>
                                        <input type="radio" name="parentOsteoporosis" id="parentOsteoporosisNo" v-model="checkData.parentOsteoporosis" value="0">
                                        <label for="parentOsteoporosisNo">无</label>
                                    </div>

                                    <div class="parentHunchback">
                                        <label id="parentHunchback"style="text-indent: 1em;">父/母亲驼背</label>
                                        <input type="radio" name="parentHunchback" id="parentHunchbackYes" v-model="checkData.parentHunchback" value="1">
                                        <label for="parentHunchbackYes">有</label>
                                        <input type="radio" name="parentHunchback" id="parentHunchbackNo" v-model="checkData.parentHunchback" value="0">
                                        <label for="parentHunchbackNo">无</label>
                                    </div>


                                    <label for="parentFracture"style="text-indent: 1em;">父/母亲骨折史</label>
                                    <input type="radio" name="parentFracture" id="parentFractureYes" v-model="checkData.parentFracture" value="2">
                                    <label for="parentFractureYes">是</label>
                                    <input type="radio" name="parentFracture" id="parentFractureNo" v-model="checkData.parentFracture" value="1">
                                    <label for="parentFractureNo">否</label>
                                    <div v-if="checkData.parentFracture==2" style="margin-top:20px;padding-left:28px;">
                                        <div>
                                            <label for="parentFractureFirstAge">时间：</label>
                                            <input type="text" name="parentFractureFirstAge" id="parentFractureFirstAge"
                                                   class="height form-control"
                                                   v-model="checkData.parentFractureFirstAge">
                                            <span style="left:100px;">岁；</span>
                                            <label for="parentFractureFirstPlace">部位：</label>
                                            <select name="parentFractureFirstPlace" id="parentFractureFirstPlace"
                                                    v-model="checkData.parentFractureFirstPlace">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">髋部</option>
                                                <option value="2">椎体</option>
                                                <option value="3">前臂</option>
                                                <option value="4">肱骨</option>
                                                <option value="5">其他</option>
                                            </select>
                                            <label for="parentFractureFirstReason">原因：</label>
                                            <select name="parentFractureFirstReason" id="parentFractureFirstReason"
                                                    v-model="checkData.parentFractureFirstReason">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">脆性</option>
                                                <option value="2">暴力；</option>
                                            </select>
                                        </div>
                                        <div class="operation">
                                            <label for="operation">手术名称：</label>
                                            <input type="radio" name="parentFractureFirstSurgery" id="parentFractureFirstSurgery1" v-model="checkData.parentFractureFirstSurgery" value="1">
                                            <label for="parentFractureFirstSurgery1" style="margin-right:15px;">髋关节置换/内固定</label>
                                            <input type="radio" name="parentFractureFirstSurgery" id="parentFractureFirstSurgery2" v-model="checkData.parentFractureFirstSurgery" value="2">
                                            <label for="parentFractureFirstSurgery2" style="margin-right:15px;">椎体成形术</label>
                                            <input type="radio" name="parentFractureFirstSurgery" id="parentFractureFirstSurgery3" v-model="checkData.parentFractureFirstSurgery" value="3">
                                            <label for="parentFractureFirstSurgery3">其他</label>
                                        </div>
                                        <div>
                                            <label for="parentFractureSecondAge">时间：</label>
                                            <input type="text" name="parentFractureSecondAge" id="parentFractureSecondAge"
                                                   class="height form-control"
                                                   v-model="checkData.parentFractureSecondAge">
                                            <span style="left:100px;">岁；</span>
                                            <label for="parentFractureSecondPlace">部位：</label>
                                            <select name="parentFractureSecondPlace" id="parentFractureSecondPlace"
                                                    v-model="checkData.parentFractureSecondPlace">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">髋部</option>
                                                <option value="2">椎体</option>
                                                <option value="3">前臂</option>
                                                <option value="4">肱骨</option>
                                                <option value="5">其他；</option>
                                            </select>
                                            <label for="parentFractureSecondReason">原因：</label>
                                            <select name="parentFractureSecondReason" id="parentFractureSecondReason"
                                                    v-model="checkData.parentFractureSecondReason">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">脆性</option>
                                                <option value="2">暴力；</option>
                                            </select>
                                        </div>
                                        <div class="operation">
                                            <label for="operation">手术名称：</label>
                                            <input type="radio" name="parentFractureSecondSurgery" id="parentFractureSecondSurgery1" v-model="checkData.parentFractureSecondSurgery" value="1">
                                            <label for="parentFractureSecondSurgery1" style="margin-right:15px;">髋关节置换/内固定</label>
                                            <input type="radio" name="parentFractureSecondSurgery" id="parentFractureSecondSurgery2" v-model="checkData.parentFractureSecondSurgery" value="2">
                                            <label for="parentFractureSecondSurgery2" style="margin-right:15px;">椎体成形术</label>
                                            <input type="radio" name="parentFractureSecondSurgery" id="parentFractureSecondSurgery3" v-model="checkData.parentFractureSecondSurgery" value="3">
                                            <label for="parentFractureSecondSurgery3">其他</label>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <label for="disease">（15）疾病史：</label>
                                    <div style="padding:6px 25px;width:100%;margin-bottom: 0px;vertical-align: top;" id="dieaseType" ref="dieaseType">
                                        <span v-for="(item,key) in dieaseType" :key="key" style="display:inline-block;margin:0 20px 18px 0;">
                                            <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="dieaseTypeCheck(item)" />
                                            <label :for="item.forId">{{item.name}}</label>
                                        </span>
                                    </div>
                                </div>
                                <div>
                                    <label for="medicine">（16）药物史：</label>
                                    <div style="padding:6px 25px;width:100%;margin-bottom: 0px;vertical-align: top;" id="medicineType" ref="medicineType">
                                        <span v-for="(item,key) in medicineType" :key="key" style="display:inline-block;margin:0 20px 18px 0;">
                                            <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="medicineTypeCheck(item)" />
                                            <label :for="item.forId">{{item.name}}</label>
                                        </span>
                                    </div>
                                    <input type="text" name="medicineDesc" id="medicineDesc" class="height form-control" style="width: 400px" v-model="checkData.medicineDesc" />
                                </div>
                                <div>
                                    <label v-if="checkData.blNoMedicalType == 0" for="operation">（17）手术史？1.卵巢切除史；2-子宫切除史；3-胃肠切除史；4-其他手术史</label>
                                    <label v-if="checkData.blNoMedicalType == 1 || checkData.blNoMedicalType == 2 || checkData.blNoMedicalType == 3 || checkData.blNoMedicalType == 4"
                                           for="operation">是否有新增手术史？1.卵巢切除史；2-子宫切除史；3-胃肠切除史；4-其他手术史</label>
                                    <select name="operation" id="operation" v-model="checkData.operation">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">否</option>
                                        <option value="2">是</option>
                                    </select>
                                    <div v-if="checkData.operation == 2">
                                        <label for="operationType">手术类型：</label>
                                        <select name="operationType" id="operationType" v-model="checkData.operationType" @change="changeOperation">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">卵巢切除史</option>
                                            <option value="2">子宫切除史</option>
                                            <option value="3">胃肠切除史</option>
                                            <option value="4">其他手术史</option>
                                        </select>
                                        <label for="operationYear">年龄</label>
                                        <input type="text" name="operationYear" class="operationYear" id="operationYear" v-model="checkData.operationYear">
                                        <span v-if="checkData.operationType == 1" style="margin-top: 20px;padding-left:28px;">
                                            <label for="operationPartYes" style="margin-left:10px;">单侧</label>
                                            <input type="radio" name="operationPart" id="operationPartYes" value="0" v-model="checkData.operationPart">
                                            <label for="operationPartNo">双侧</label>
                                            <input type="radio" name="operationPart" id="operationPartNo" value="1" v-model="checkData.operationPart">
                                        </span>
                                        <input type="text" name="operationOther" id="operationOther" class="height form-control"
                                               v-if="checkData.operationType == 4"
                                               v-model="checkData.operationOther">
                                    </div>
                                </div>

                                <div>
                                    <div v-if="checkData.blNoMedicalType == 0" style="display: inline-block;">
                                        <label for="blMedicine">（18）抗骨松治疗？</label>
                                        <select name="blMedicine" id="blMedicine" v-model="checkData.blMedicine">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">否</option>
                                            <option value="2">是</option>
                                        </select>
                                    </div>
                                    <div v-if="checkData.blMedicine == 2 || checkData.takemed == 2" style="display: inline-block;">
                                        <label for="blMedicineTime">何时开始服用？</label>
                                        <select name="blMedicineTime" id="blMedicineTime" v-model="checkData.blMedicineTime">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">骨折前</option>
                                            <option value="2">骨折后</option>
                                        </select>
                                    </div>
                                    <div class="blMedicine" v-if="checkData.blMedicine == 2 || checkData.takemed == 2">
                                        <label for="disease">服用药物情况：</label>
                                        <div style="width:100%;padding:6px 25px;overflow:hidden;height:140px;margin-bottom: 0px;vertical-align: top;" id="blMedicineType" ref="blMedicineType">
                                            <div class="medicine" style="width:40%;float:left;">
                                                <div v-for="(item,key) in blMedicineType" :key="key" style="margin:0 20px 34px 0;">
                                                    <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="takemedicineTypeCheck(item)" />
                                                    <label :for="item.forId">{{item.name}}</label>
                                                </div>
                                            </div>
                                            <div class="year" style="width:60%;float:left;">
                                                <div v-for="(item,key) in medicineYear" :key="key" style="margin:0 20px 18px 0;">
                                                    <input type="text" name="blMedicineDose" id="blMedicineDose" class="height form-control" v-model="item.blMedicineDose">
                                                    <span style="left:100px;">*</span>
                                                    <input type="text" name="blMedicineYear" id="blMedicineYear" class="weightGuide form-control weight" v-model="item.blMedicineYear">
                                                    <span style="left:105px;">年</span>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <label for="painScore">（19）目前疼痛评分（VAS，0~10分）</label>
                                    <input type="number" name="painScore" id="painScore" class="height form-control"
                                           v-model="checkData.painScore">

                                    <label for="painPlace">主要疼痛部位：</label>
                                    <select name="painPlace" id="painPlace" v-model="checkData.painPlace">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">腰背</option>
                                        <option value="2">四肢</option>
                                        <option value="3">关节</option>
                                        <option value="4">其他</option>
                                    </select>
                                </div>

                                <div v-if="checkData.blNoMedicalType == 0">
                                    <label for="standWalkTest">（20）跌倒风险评估：起立-行走测试时间TUG：</label>
                                    <select name="standWalkTest" id="standWalkTest" v-model="checkData.standWalkTest">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1"><12秒</option>
                                        <option value="2">>=12秒</option>
                                    </select>
                                    <span v-if="checkData.blNoMedicalType == 0">
                            <label for="tugTime">TUG(s)：</label>
                            <input type="text" name="tugTime" id="tugTime" class="height form-control"
                                   style="width: 200px"
                                   v-model="checkData.tugTime" />
                        </span>
                                </div>
                            </div>
                        </div>
                        <div class="way"
                             v-if="checkData.blNoMedicalType == 0 || checkData.blNoMedicalType == 2 || checkData.blNoMedicalType == 4">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">EQ-5D健康问卷</span>
                            <div class="way_content">
                                <div>
                                    <label for="walkAction">1）行动：</label>
                                    <select name="walkAction" id="walkAction" style="width:250px" v-model="checkData.walkAction">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我可以四处走动，没有任何困难</option>
                                        <option value="2">我行动有些不方便</option>
                                        <option value="3">我不能下床活动</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="selfCare">2）自己照顾自己：</label>
                                    <select name="selfCare" id="selfCare" style="width:330px" v-model="checkData.selfCare">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我能自己照顾自己，没有任何困难</option>
                                        <option value="2">我在洗脸、刷牙、洗澡或穿衣方面有些困难</option>
                                        <option value="3">我无法自己洗脸、刷牙、洗澡或穿衣</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="dailyAction">3）日常活动（如工作、学习、家务事、家庭或休闲活动）：</label>
                                    <select name="dailyAction" id="dailyAction" style="width:250px" v-model="checkData.dailyAction">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我能进行日常活动，没有任何困难</option>
                                        <option value="2">我在进行日常活动方面有些困难</option>
                                        <option value="3">我无法进行日常活动</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="painType">4）疼痛/不舒服：</label>
                                    <select name="painType" id="painType" style="width:250px" v-model="checkData.painType">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我没有任何疼痛或不舒服</option>
                                        <option value="2">我觉得中度疼痛或不舒服</option>
                                        <option value="3">我觉得极度疼痛或不舒服</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="anxiety">5）焦虑（如紧张、担心、不安等等）/抑郁（如做事情缺乏兴趣、没乐趣、提不起精神等等）：</label>
                                    <select name="anxiety" id="anxiety" style="width:250px" v-model="checkData.anxiety">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我不觉得焦虑或抑郁</option>
                                        <option value="2">我觉得中度焦虑或抑郁</option>
                                        <option value="3">我觉得极度焦虑或抑郁</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="healthScore">您今天的健康状况分（0～100；最好100；最差0）：</label>
                                    <input type="number" name="healthScore" id="healthScore" class="height form-control"
                                           v-model="checkData.healthScore">
                                </div>
                            </div>
                        </div>
                        <div class="way" style="text-align: center;height:80px;">
                            <button type="button" class="btn btn-info" @click="saveFirstQuery()">
                                <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;"> 保存
                            </button>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <%--        随访内容--%>
        <div v-show="4 == num">
            <div id="followup">
                <div class="illness" style="width:99%; margin-right:19px;">
                    <div class="tableWrap"
                         style="padding:0 0 20px 0;background-color: #ffffff;box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.05);margin-top: -40px;">
                        <div style="margin-left:20px;">

                            <%--                            <h3 style="margin-bottom:16px;font-size:20px;padding-top: 10px;">随访</h3>--%>
                        </div>
                        <div class="way" style="margin-top: 30px;">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;margin-left: 20px;"></span>
                            <span class="title">基本信息</span>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <label for="accompanyDate">随访日期：</label>
                                    <div class="input-group date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                                         style="display:inline-block !important;width:15%;">
                                        <input id="accompanyDate" type="text" class="lay-date"
                                               readonly style="width:100% !important;">
                                    </div>
                                </div>
                                <div style="margin-bottom:0px;">
                                    <label for="surveyer2">调查员：</label>
                                    <input id="surveyer2" type="text" class="height form-control" v-model="accompany.surveyer">
                                    <label for="surveyerPhone">调查员手机号：</label>
                                    <input type="text" class="weightGuide form-control weight"
                                           v-model="accompany.surveyerPhone" id="surveyerPhone2">
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;margin-left: 20px;"></span>
                            <span class="title">问卷调查表</span>
                            <div class="way_content">
                                <div class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;">
                                        <label for="height2">身高：</label>
                                        <input type="text" name="height2" id="height2" class="height form-control"
                                               v-model="accompany.height">
                                        <span style="left:100px;">cm</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="weight2">体重：</label>
                                        <input type="text" name="weight2" id="weight2" class="weightGuide form-control weight"
                                               v-model="accompany.weight">
                                        <span style="left:105px;">kg</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="bmi2">BMI：</label>
                                        <input type="text" name="bmi2" id="bmi2" class="bmi form-control" v-model="accompanyBMI">
                                        <span style="left:80px;">kg/m²</span>
                                    </div>
                                </div>
                                <div>
                                    <label  for="heightLess">身高缩短（与去年比较）？</label>
                                    <input type="radio" name="heightLessItem2" id="heightLessItemYes2" value="2" v-model="accompany.heightLessItem">
                                    <label for="heightLessItemYes2">是</label>
                                    <input type="radio" name="heightLessItem2" id="heightLessItemNo2" value="1" v-model="accompany.heightLessItem">
                                    <label for="heightLessItemNo2">否</label>
                                    <div v-if="accompany.heightLessItem == 2" style="margin-top: 20px;padding-left:28px;">
                                        <input type="text" name="heightLess" id="heightLess" v-model="accompany.heightLess"><span>cm</span>
                                    </div>
                                </div>
                                <div>
                                    <label  for="heightLess2">驼背:</label>
                                    <input type="radio" name="humpback2" id="humpbackYes2" value="2" v-model="accompany.humpback">
                                    <label for="humpbackYes2">是</label>
                                    <input type="radio" name="humpback2" id="humpbackNo2" value="1" v-model="accompany.humpback">
                                    <label for="humpbackNo2">否</label>
                                </div>
                                <div>
                                    <label for="smoke2">吸烟：</label>
                                    <input type="radio" name="smoke2" id="smokeYes2" value="2" v-model="accompany.smoke">
                                    <label for="smokeYes2">是</label>
                                    <input type="radio" name="smoke2" id="smokeNo2" value="1" v-model="accompany.smoke">
                                    <label for="smokeNo2">否</label>
                                    <div v-if="accompany.smoke == 2" style="margin-top: 20px;padding-left:28px;">
                                        <span style="left:105px;">吸烟</span>
                                        <input type="text" name="smokeYear" id="smokeYear2" class="weightGuide form-control weight"
                                               v-model="accompany.smokeYear">
                                        <span style="left:105px;">年</span>
                                        <input type="radio" name="quitSmoking" id="quitSmokingYes" value="1" v-model="accompany.quitSmoking">

                                        <label for="quitSmokingYes" style="margin-left:10px;">已戒</label>
                                        <input type="radio" name="quitSmoking" id="quitSmokingNo" value="0" v-model="accompany.quitSmoking">
                                        <label for="quitSmokingNo">未戒</label>
                                    </div>
                                    <div>
                                        <label for="drink2">饮酒：</label>
                                        <input type="radio" name="drink2" id="drinkYes2" v-model="accompany.drink" value="2">
                                        <label for="drinkYes2">是</label>
                                        <input type="radio" name="drink2" id="drinkNo2" v-model="accompany.drink" value="1">
                                        <label for="drinkNo2">否</label>

                                        <div v-if="accompany.drink == 2" style="margin-top: 20px;padding-left:28px;">
                                            <label for="drinkType2">喝哪种酒？</label>
                                            <select name="drinkType2" id="drinkType2" v-model="accompany.drinkType">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">啤酒</option>
                                                <option value="2">葡萄酒</option>
                                                <option value="3">白酒</option>
                                                <option value="4">黄酒</option>
                                            </select>

                                            <label for="drinkMl2">饮酒量：</label>
                                            <input type="text" name="drinkMl2" id="drinkMl2" class="height form-control"
                                                   v-model="accompany.drinkMl">
                                            <span style="left:100px;">ml/天*</span>
                                            <input type="text" name="drinkYear2" id="drinkYear2" class="weightGuide form-control weight"
                                                   v-model="accompany.drinkYear">
                                            <span style="left:105px;">年</span>
                                        </div>
                                    </div>
                                    <div>
                                        <label for="tea2">喝浓茶：</label>
                                        <input type="radio" name="tea2" id="teaYes2" v-model="accompany.tea" value="2">
                                        <label for="teaYes2">是</label>
                                        <input type="radio" name="tea2" id="teaNo2" v-model="accompany.tea" value="1">
                                        <label for="teaNo2">否</label>
                                        <div v-if="accompany.tea == 2" style="margin-top: 20px;padding-left:28px;">
                                            <label for="teaType">哪种茶？</label>
                                            <select name="teaType2" id="teaType2" v-model="accompany.teaType">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">红茶</option>
                                                <option value="2">绿茶</option>
                                                <option value="3">其他</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div>
                                        <div>
                                            <label for="coffee2">喝咖啡：</label>
                                            <input type="radio" name="coffee2" id="coffeeYes2" v-model="accompany.coffee" value="2">
                                            <label for="coffeeYes2">是</label>
                                            <input type="radio" name="coffee2" id="coffeeNo2" v-model="accompany.coffee" value="1">
                                            <label for="coffeeNo2">否</label>
                                            <div v-if="accompany.coffee == 2" style="margin-top: 20px;padding-left:28px;">
                                                <input type="text" name="coffeeMl2" id="coffeeMl2" class="height form-control"
                                                       v-model="accompany.coffeeMl">
                                                <span style="left:100px;">杯/天*</span>
                                                <input type="text" name="coffeeYear2" id="coffeeYear2" class="weightGuide form-control weight"
                                                       v-model="accompany.coffeeYear">
                                                <span style="left:105px;">年</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div>
                                        <label for="milk2">乳制品:</label>
                                        <input type="radio" name="milk2" id="milkYes2" v-model="accompany.milk" value="2">
                                        <label for="milkYes2">是</label>
                                        <input type="radio" name="milk2" id="milkNo2" v-model="accompany.milk" value="1">
                                        <label for="milkNo2">否</label>
                                        <div v-if="accompany.milk == 2" style="margin-top: 20px;padding-left:28px;">
                                            <label for="milkType2">哪种乳制品？</label>
                                            <select name="milkType2" id="milkType2" v-model="accompany.milkType">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">新鲜牛奶</option>
                                                <option value="2">酸奶</option>
                                                <option value="3">奶粉</option>
                                            </select>
                                            <label for="milkMl2">饮用量：</label>
                                            <input type="text" name="milkMl2" id="milkMl2" class="height form-control"
                                                   v-model="accompany.milkMl">
                                            <span style="left:100px;">ml/天*</span>
                                            <input type="text" name="milkYear2" id="milkYear2" class="weightGuide form-control weight"
                                                   v-model="accompany.milkYear">
                                            <span style="left:105px;">年</span>
                                        </div>
                                    </div>
                                    <div>
                                        <label for="dietary2">饮食习惯：</label>
                                        <input type="radio" id="dietaryYes2" name="dietary2" v-model="accompany.dietary" value="2">
                                        <label for="dietaryYes2">普通膳食</label>
                                        <input type="radio" id="dietaryNo2" name="dietary2" v-model="accompany.dietary" value="1">
                                        <label for="dietaryNo2">素食或基本素食</label>
                                    </div>
                                    <div>
                                        <label for="sun2">晒太阳</label>
                                        <input type="radio" name="sun2" id="sunYes2" v-model="accompany.sunbathe" value="2">
                                        <label for="sunYes2">是（每天30分钟，3天/周以上）</label>
                                        <input type="radio" name="sun2" id="sunNo2" v-model="accompany.sunbathe" value="1">
                                        <label for="sunNo2">否</label>
                                    </div>
                                    <div>
                                        <label for="exercise2">经常运动：</label>
                                        <input type="radio" name="exercise2" id="exerciseYes2" v-model="accompany.exercise" value="2">
                                        <label for="exerciseYes2">是</label>
                                        <input type="radio" name="exercise2" id="exerciseNo2" v-model="accompany.exercise" value="1">
                                        <label for="exerciseNo2">否</label>
                                        <div v-if="checkData.exercise == 2" style="margin-top: 20px;padding-left:28px;">
                                            <%--                                        <label for="exerciseMinPerDay">平均运动时间：</label>--%>
                                            <input type="text" name="exerciseMinPerDay2" id="exerciseMinPerDay2"
                                                   class="height form-control"
                                                   v-model="accompany.exerciseMinPerDay">
                                            <span style="left:100px;">小时/天*</span>
                                            <input type="text" name="exerciseYear2" id="exerciseYear2"
                                                   class="weightGuide form-control weight"
                                                   v-model="accompany.exerciseYear">
                                            <span style="left:105px;">年</span>
                                            <label for="exerciseType2">运动方式：</label>
                                            <select name="exerciseType2" id="exerciseType2" v-model="accompany.exerciseType">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">散步</option>
                                                <option value="2">快走</option>
                                                <option value="3">舞蹈</option>
                                                <option value="4">太极拳</option>
                                                <option value="5">游泳</option>
                                                <option value="6">跑步</option>
                                                <option value="7">其他</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div>
                                        <label for="fall">跌倒次数（近6月）：</label>
                                        <input type="radio" name="fall2" id="fallNo2" v-model="accompany.fall" value="1">
                                        <label for="fallNo2">无</label>
                                        <input type="radio" name="fall2" id="fallOnce2" v-model="accompany.fall" value="2">
                                        <label for="fallOnce2">1次</label>
                                        <input type="radio" name="fall2" id="fallTwice2" v-model="accompany.fall" value="3">
                                        <label for="fallTwice2">>1次</label>
                                    </div>
                                    <div>
                                        <label class="dxaDo2" style="width:100%;height:32px;">双能X线骨密度检查：</label>
                                        <div class="choice" style="width:20%;padding-left:10px;">
                                            <input type="radio" name="dxaDo2" id="dxaDoYes2" value="2" v-model="accompany.dxaDo">
                                            <label for="dxaDoYes2" style="width:60px;margin-right:40px;">是</label>
                                            <input type="radio" name="dxaDo2" id="dxaDoNo2" value="1" v-model="accompany.dxaDo" style="width:60px;">
                                            <label for="dxaDoNo2">否</label>
                                        </div>
                                    </div>
                                    <div>
                                        <label class="clinic2" style="width:100%;height:32px;">是否定期至骨质疏松专科门诊就诊：</label>
                                        <div class="choice" style="width:20%;padding-left:10px;">
                                            <input type="radio" name="clinic2" v-model="accompany.clinic" id="clinicYes2" value="2">
                                            <label for="clinicYes2" style="width:60px;margin-right:40px;">是</label>
                                            <input type="radio" name="clinic2" v-model="accompany.clinic" id="clinicNo2" value="1" style="width:60px;">
                                            <label for="clinicNo2">否</label>
                                        </div>
                                    </div>
                                    <div>
                                        <label class="takemed2" style="width:100%;height:32px;">按时服用抗骨质疏松药物：</label>
                                        <div class="choice" style="width:20%;padding-left:10px;">
                                            <input type="radio" name="takemed2" v-model="accompany.takemed" id="takemedYes2" value="2">
                                            <label for="takemedYes2" style="width:60px;margin-right:40px;">是</label>
                                            <input type="radio" name="takemed2" v-model="accompany.takemed" id="takemedNo2" value="1" style="width:60px;">
                                            <label for="takemedNo2">否</label>
                                        </div>
                                    </div>
                                    <%--                                测试cc--%>
                                    <div style="margin-bottom:5px;">
                                        <div style="display: inline-block;margin:0 10px 0 0;">
                                            <label for="blMedicine2">抗骨松治疗？</label>
                                            <div class="choice">
                                                <input type="radio" name="blMedicine2" v-model="accompany.blMedicine" id="blMedicineYes2" value="2">
                                                <label for="blMedicineYes2" style="width:60px;margin-right:40px;">是</label>
                                                <input type="radio" name="blMedicine2" v-model="accompany.blMedicine" id="blMedicineNo2" value="1" style="width:60px;">
                                                <label for="blMedicineNo2">否</label>
                                            </div>
                                        </div>
                                        <div v-if="accompany.blMedicine == 2" style="display: inline-block;">
                                            <label for="blMedicineTime2">何时开始服用？</label>
                                            <select name="blMedicineTime2" id="blMedicineTime2" v-model="accompany.blMedicineTime">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">骨折前</option>
                                                <option value="2">骨折后</option>
                                            </select>
                                        </div>
                                        <div class="blMedicine" v-if="accompany.blMedicine == 2">
                                            <label for="disease">服用药物情况：</label>
                                            <div style="width:100%;padding:6px 25px;overflow:hidden;height:140px;margin-bottom: 0px;vertical-align: top;" id="blMedicineType2" ref="blMedicineType2">
                                                <div class="medicine" style="width:40%;float:left;">
                                                    <div v-for="(item,key) in blMedicineType" :key="key" style="margin:0 20px 34px 0;">
                                                        <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="takemedicineTypeCheck(item)" />
                                                        <label :for="item.forId">{{item.name}}</label>
                                                    </div>
                                                </div>
                                                <div class="year" style="width:60%;float:left;">
                                                    <div v-for="(item,key) in medicineYear" :key="key" style="margin:0 20px 18px 0;">
                                                        <input type="text" name="blMedicineDose" id="blMedicineDose2" class="height form-control" v-model="item.blMedicineDose">
                                                        <span style="left:100px;">*</span>
                                                        <input type="text" name="blMedicineYear" id="blMedicineYear2" class="weightGuide form-control weight" v-model="item.blMedicineYear">
                                                        <span style="left:105px;">年</span>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                    <div>
                                        <label for="selffractu2">新发骨折史：</label>
                                        <input type="radio" name="selffractu2" id="selffractuYes2" v-model="accompany.selffractu" value="2">
                                        <label for="selffractuYes2">有</label>
                                        <input type="radio" name="selffractu2" id="selffractuNo2" v-model="accompany.selffractu" value="1">
                                        <label for="selffractuNo2">否</label>
                                        <div v-if="accompany.selffractu==2"  style="margin-top:20px;padding-left:28px;">
                                            <div>
                                                <label for="selffractuFirstAge2">时间：</label>
                                                <input type="text" name="selffractuFirstAge2" id="selffractuFirstAge2"
                                                       class="height form-control"
                                                       v-model="accompany.selffractuFirstAge">
                                                <span style="left:100px;">岁；</span>
                                                <label for="selffractuFirstPlace2">部位：</label>
                                                <select name="selffractuFirstPlace2" id="selffractuFirstPlace2"
                                                        v-model="accompany.selffractuFirstPlace">
                                                    <option value="" selected="selected">请选择</option>
                                                    <option value="1">髋部</option>
                                                    <option value="2">椎体</option>
                                                    <option value="3">前臂</option>
                                                    <option value="4">肱骨</option>
                                                    <option value="5">其他；</option>
                                                </select>
                                                <label for="selffractuFirstReason2">原因：</label>
                                                <select name="selffractuFirstReason2" id="selffractuFirstReason2"
                                                        v-model="accompany.selffractuFirstReason">
                                                    <option value="" selected="selected">请选择</option>
                                                    <option value="1">脆性</option>
                                                    <option value="2">暴力；</option>
                                                </select>
                                            </div>
                                            <div class="operation2">
                                                <label for="operation">手术名称：</label>
                                                <input type="radio" name="followFirstSurgery" id="selffractuFirstSurgery12" v-model="accompany.followFirstSurgery" value="1">
                                                <label for="selffractuFirstSurgery12" style="margin-right:15px;">髋关节置换/内固定</label>
                                                <input type="radio" name="followFirstSurgery" id="selffractuFirstSurgery22" v-model="accompany.followFirstSurgery" value="2">
                                                <label for="selffractuFirstSurgery22" style="margin-right:15px;">椎体成形术</label>
                                                <input type="radio" name="followFirstSurgery" id="selffractuFirstSurgery32" v-model="accompany.followFirstSurgery" value="3">
                                                <label for="selffractuFirstSurgery32">其他</label>
                                            </div>
                                        </div>
                                    </div>
                                    <p>新发疾病或疾病有变化时记录</p>
                                    <div>
                                        <label for="disease2">疾病史：</label>
                                        <div style="padding:6px 25px;width:100%;margin-bottom: 0px;vertical-align: top;" id="dieaseType2" ref="dieaseType2">
                                        <span v-for="(item,key) in dieaseType2" :key="key" style="display:inline-block;margin:0 20px 18px 0;">
                                            <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="dieaseTypeCheck(item)" />
                                            <label :for="item.forId">{{item.name}}</label>
                                        </span>
                                        </div>
                                    </div>
                                    <div>
                                        <label for="medicine2">药物史：</label>
                                        <div style="padding:6px 25px;width:100%;margin-bottom: 0px;vertical-align: top;" id="medicineType2" ref="medicineType2">
                                        <span v-for="(item,key) in medicineType2" :key="key" style="display:inline-block;margin:0 20px 18px 0;">
                                            <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="medicineTypeCheck(item)" />
                                            <label :for="item.forId">{{item.name}}</label>
                                        </span>
                                        </div>
                                        <input type="text" name="medicineDesc2" id="medicineDesc2" class="height form-control" style="width: 400px" v-model="accompany.medicineDesc" />
                                    </div>
                                    <div>
                                        <label for="operation">是否有新增手术史？1.卵巢切除史；2-子宫切除史；3-胃肠切除史；4-其他手术史</label>
                                        <select name="operation2" id="operation2" v-model="accompany.operation">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">否</option>
                                            <option value="2">是</option>
                                        </select>
                                        <div v-if="accompany.operation == 2">
                                            <label for="operationType2">手术类型：</label>
                                            <select name="operationType2" id="operationType2" v-model="accompany.operationType" @change="changeOperation">
                                                <option value="" selected="selected">请选择</option>
                                                <option value="1">卵巢切除史</option>
                                                <option value="2">子宫切除史</option>
                                                <option value="3">胃肠切除史</option>
                                                <option value="4">其他手术史</option>
                                            </select>
                                            <label for="operationYear">年龄</label>
                                            <input type="text" name="operationYear2" class="operationYear2" id="operationYear2" v-model="accompany.operationYear">
                                            <span v-if="accompany.operationType == 1" style="margin-top: 20px;padding-left:28px;">
                                            <label for="operationPartYes2" style="margin-left:10px;">单侧</label>
                                            <input type="radio" name="operationPart2" id="operationPartYes2" value="0" v-model="accompany.operationPart">
                                            <label for="operationPartNo2">双侧</label>
                                            <input type="radio" name="operationPart2" id="operationPartNo2" value="1" v-model="accompany.operationPart">
                                        </span>
                                            <input type="text" name="operationOther2" id="operationOther2" class="height form-control"
                                                   v-if="accompany.operationType == 4" v-model="accompany.operationOther">
                                        </div>
                                    </div>
                                    <%--                           测试ing     、、、、、、、、--%>
                                    <div>
                                        <label for="painScore2">疼痛评分（VAS，0~10分）</label>
                                        <input type="number" name="painScore2" id="painScore2" class="height form-control"
                                               v-model="accompany.painScore">

                                        <label for="painPlace2">主要疼痛部位：</label>
                                        <select name="painPlace2" id="painPlace2" v-model="accompany.painPlace">
                                            <option value="" selected="selected">请选择</option>
                                            <option value="1">腰背</option>
                                            <option value="2">四肢</option>
                                            <option value="3">关节</option>
                                            <option value="4">其他</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">EQ-5D健康问卷</span>
                            <div class="way_content">
                                <div>
                                    <label for="walkAction2">1）行动：</label>
                                    <select name="walkAction2" id="walkAction2" style="width:250px" v-model="accompany.walkAction">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我可以四处走动，没有任何困难</option>
                                        <option value="2">我行动有些不方便</option>
                                        <option value="3">我不能下床活动</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="selfCare2">2）自己照顾自己：</label>
                                    <select name="selfCare2" id="selfCare2" style="width:330px" v-model="accompany.selfCare">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我能自己照顾自己，没有任何困难</option>
                                        <option value="2">我在洗脸、刷牙、洗澡或穿衣方面有些困难</option>
                                        <option value="3">我无法自己洗脸、刷牙、洗澡或穿衣</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="dailyAction2">3）日常活动（如工作、学习、家务事、家庭或休闲活动）：</label>
                                    <select name="dailyAction2" id="dailyAction2" style="width:250px" v-model="accompany.dailyAction">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我能进行日常活动，没有任何困难</option>
                                        <option value="2">我在进行日常活动方面有些困难</option>
                                        <option value="3">我无法进行日常活动</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="painType2">4）疼痛/不舒服：</label>
                                    <select name="painType2" id="painType2" style="width:250px" v-model="accompany.painType">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我没有任何疼痛或不舒服</option>
                                        <option value="2">我觉得中度疼痛或不舒服</option>
                                        <option value="3">我觉得极度疼痛或不舒服</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="anxiety2">5）焦虑（如紧张、担心、不安等等）/抑郁（如做事情缺乏兴趣、没乐趣、提不起精神等等）：</label>
                                    <select name="anxiety2" id="anxiety2" style="width:250px" v-model="accompany.anxiety">
                                        <option value="" selected="selected">请选择</option>
                                        <option value="1">我不觉得焦虑或抑郁</option>
                                        <option value="2">我觉得中度焦虑或抑郁</option>
                                        <option value="3">我觉得极度焦虑或抑郁</option>
                                    </select>
                                </div>
                                <div>
                                    <label for="healthScore2">您今天的健康状况分（0～100；最好100；最差0）：</label>
                                    <input type="number" name="healthScore2" id="healthScore2" class="height form-control"
                                           v-model="accompany.healthScore">
                                </div>
                            </div>
                        </div>
                        <div class="way" style="text-align: center;height:80px;">
                            <button type="button" class="btn btn-info" @click="saveFirstQuery()">
                                <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;"> 新增
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>



        <div v-show="5 == num" id="medicalservice">
            <div class="illness" style="width:99%; margin-right:19px;">
                <div class="tableWrap" style="padding-bottom:20px;background-color: #ffffff;box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.05);">
                    <div style="margin-left:19px;">
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">随访日期</span>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <label for="followDate" style="margin-left:20px;">随访日期：</label>
                                    <div class="input-group date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                                         style="display:inline-block !important;width:15%;">
                                        <input id="followDate" type="text" class="lay-date"
                                               readonly style="width:100% !important;">
                                    </div>
                                </div>
                                <div style="margin-bottom:0px;">
                                    <label for="naxtFollowDate" style="margin-left:20px;">下次随访：</label>
                                    <div class="input-group date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                                         style="display:inline-block !important;width:15%;">
                                        <input id="naxtFollowDate" type="text" class="lay-date"
                                               readonly style="width:100% !important;">
                                    </div>
                                </div>
                            </div>
                            <div class="way_content">
                                <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                                <span class="title">随诊记录</span>
                                <div>
                                    <label for="" style="margin-left:20px;">主诉（腰背痛、骨痛、肌肉抽搐、乏力、行走距离、新发骨折等）：</label>
                                    <textarea name="" id="" cols="30" rows="10" style="height:80px;" v-model="medicalService.chiefComplaint"></textarea>
                                </div>
                                <div style="margin-bottom:0px;margin-top:20px;">
                                    <label for="explanations" style="margin-left:20px;">其他说明的情况：</label>
                                    <input type="text"   class="height form-control" id="explanations" v-model="medicalService.explanations">
                                </div>
                                <div style="margin-bottom:0px;margin-top:20px;">
                                    <label for="physical" style="margin-left:20px;">查体：</label>
                                    <input type="text" class="height form-control" id="physical" v-model="medicalService.physical">
                                </div>
                                <div style="margin-bottom:0px;margin-top:20px;">
                                    <label for="diagnosis" style="margin-left:20px;">诊断：</label>
                                    <input type="text"  class="height form-control" id="diagnosis" v-model="medicalService.diagnosis">
                                </div>

                                <div style="margin-left:20px;margin-top:20px;">
                                    <label for="classification">分级：</label>
                                    <select name="classification" id="classification" v-model="medicalService.classification">
                                        <option value="">请选择</option>
                                        <option value="1">高危</option>
                                        <option value="2">骨质疏松</option>
                                        <option value="3">重度骨质疏松</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">检验：</span>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <label for="inspectionDate" style="margin-left:20px;">检查日期：</label>
                                    <div class="input-group date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                                         style="display:inline-block !important;width:15%;">
                                        <input id="inspectionDate" type="text" class="lay-date"
                                               readonly style="width:100% !important;">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">骨代谢生化指标：</span>
                            <div class="way_content">
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width:340px;">
                                            <label for="balpMedicine" style="">骨特异性碱性磷酸酶（BALP）：</label>
                                            <input type="text" class="weightGuide form-control weight" name="balpMedicine" v-model="medicalService.balpMedicine">
                                            <span style="left:142px;">U/L</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;">
                                            <label for="ocMedicine" >骨钙素（OC）：</label>
                                            <input type="text" class="bmi form-control" name="ocMedicine" v-model="medicalService.ocMedicine">
                                            <span style="left:142px;">ng/mL</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width:370px;">
                                            <label for="pnpMedicine" >总I型胶原氨基端延长肽（P1NP）：</label>
                                            <input type="text" class="weightGuide form-control weight" name="pnpMedicine" v-model="medicalService.pnpMedicine">
                                            <span style="left:142px;">ng/mL</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width:290px;">
                                            <label for="ctxMedicine" >β胶原联降解产物（β-CTX）：</label>
                                            <input type="text" class="height form-control" style="width:150px;" name="ctxMedicine" v-model="medicalService.ctxMedicine">
                                            <span style="left:155px;">ng/mL</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width:400px;">
                                            <label for="wssdMedicine" >25-羟维生素D：</label>
                                            <input type="text" class="height form-control" style="width:150px;" name="wssdMedicine" v-model="medicalService.wssdMedicine">
                                            <span style="left:155px;">ng/ml</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width:315px;">
                                            <label for="pthMedicine" >甲状旁腺素（PTH)：</label>
                                            <input type="text" class="height form-control"  name="pthMedicine" v-model="medicalService.pthMedicine">
                                            <span style="left:142px;">pg/mL</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width:253px;">
                                            <label for="calcium" >总钙：</label>
                                            <input type="text" class="height form-control"  name="calcium" v-model="medicalService.calcium">
                                            <span style="left:142px;">mmol/L</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;">
                                            <label for="phosphorus" >磷：</label>
                                            <input type="text" class="height form-control" name="phosphorus" v-model="medicalService.phosphorus">
                                            <span style="left:142px;">mmol/L</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">常规化验：</span>
                            <div class="way_content">
                                <label for="routineBloodTest">血常规：</label>
                                <input type="radio" name="routineBloodTest" id="routineBloodTestYes2" v-model="medicalService.routineBloodTest" value="1">
                                <label for="routineBloodTestYes2">正常</label>
                                <input type="radio" name="routineBloodTest" id="routineBloodTestNo2" v-model="medicalService.routineBloodTest" value="2">
                                <label for="routineBloodTestNo2">异常</label>
                                <div v-if="medicalService.routineBloodTest == 2" class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;margin-right:50px;">
                                        <label for="whiteBloodCell">白细胞：</label>
                                        <input type="text" name="whiteBloodCell" id="whiteBloodCell" class="height form-control"
                                               v-model="medicalService.whiteBloodCell">
                                        <span style="left:78px;">10^9/L</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="redBloodCell">红细胞：</label>
                                        <input type="text" name="redBloodCell" id="redBloodCell" class="weightGuide form-control weight"
                                               v-model="medicalService.redBloodCell">
                                        <span style="left:69px;">10^12/L</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="hemoglobin">血红蛋白：</label>
                                        <input type="text" name="hemoglobin" id="hemoglobin" class="bmi form-control" v-model="medicalService.hemoglobin">
                                        <span style="left:109px;">g/L</span>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;">
                                            <label for="platelet">血小板：</label>
                                            <input type="text" name="platelet" id="platelet" class="bmi form-control" v-model="medicalService.platelet">
                                            <span style="left:109px;">10^9/L</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-bottom:0px;">
                                    <label for="urinalysis">尿常规：</label>
                                    <input type="radio" name="urinalysis" id="urinalysisYes2" v-model="medicalService.urinalysis" value="1">
                                    <label for="urinalysisYes2">正常</label>
                                    <input type="radio" name="urinalysis" id="urinalysisNo2" v-model="medicalService.urinalysis" value="2">
                                    <label for="urinalysisNo2">异常</label>
                                </div>
                                <div v-if="medicalService.urinalysis == 2"  class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;margin-right:50px;">
                                        <label for="urineProtein">尿蛋白：</label>
                                        <input type="text" name="urineProtein" id="urineProtein" class="height form-control"
                                               v-model="medicalService.urineProtein">
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="bld">尿隐血：</label>
                                        <input type="text" name="bld" id="bld" class="weightGuide form-control weight"
                                               v-model="medicalService.bld">
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="urineSugar">尿糖：</label>
                                        <input type="text" name="urineSugar" id="urineSugar" class="bmi form-control" v-model="medicalService.urineSugar">
                                    </div>
                                </div>

                                <div style="margin-bottom:12px;">
                                    <label for="biochemistry">生化：</label>
                                    <input type="radio" name="biochemistry" id="biochemistryYes2" v-model="medicalService.biochemistry" value="1">
                                    <label for="biochemistryYes2">正常</label>
                                    <input type="radio" name="biochemistry" id="biochemistryNo2" v-model="medicalService.biochemistry" value="2">
                                    <label for="biochemistryNo2">异常</label>
                                </div>
                                <div v-if="medicalService.biochemistry == 2">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="totalProtein">总蛋白：</label>
                                            <input type="text" name="totalProtein" id="totalProtein" class="height form-control"
                                                   v-model="medicalService.totalProtein">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="albumin">白蛋白：</label>
                                            <input type="text" name="albumin" id="albumin" class="weightGuide form-control weight"
                                                   v-model="medicalService.albumin">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="globulin">球蛋白：</label>
                                            <input type="text" name="globulin" id="globulin" class="bmi form-control" v-model="medicalService.globulin">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                    </div>
                                </div>
                                <div v-if="medicalService.biochemistry == 2">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="totalBilirubin">总胆红素：</label>
                                            <input type="text" name="totalBilirubin" id="totalBilirubin" class="height form-control"
                                                   v-model="medicalService.totalBilirubin">
                                            <span style="left:78px;">umol/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="alanine">谷丙转氨酶：</label>
                                            <input type="text" name="alanine" id="alanine" class="weightGuide form-control weight"
                                                   v-model="medicalService.alanine">
                                            <span style="left:103px;">IU/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:32px;">
                                            <label for="aspartate">谷草转氨酶：</label>
                                            <input type="text" name="aspartate" id="aspartate" class="bmi form-control" v-model="medicalService.aspartate">
                                            <span style="left:103px;">IU/L</span>
                                        </div>
                                    </div>
                                </div>
                                <div v-if="medicalService.biochemistry == 2">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="alkaline">碱性磷酸酶：</label>
                                            <input type="text" name="alkaline" id="alkaline" class="height form-control"
                                                   v-model="medicalService.alkaline">
                                            <span style="left:102px;">IU/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="creatinine">肌酐：</label>
                                            <input type="text" name="creatinine" id="creatinine" class="weightGuide form-control weight"
                                                   v-model="medicalService.creatinine">
                                            <span style="left:80px;">umol/L</span>
                                        </div>
                                    </div>
                                </div>
                                <div style="margin-bottom:12px;">
                                    <label for="esr" style="color:#0d1dae;font-weight: 600">血沉：</label>
                                    <input type="text" name="esr" id="esr" class="bmi form-control" v-model="medicalService.esr">
                                    <span style="left:109px;">mm/h</span>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">其他：</span>
                            <div class="way_content">
                                <div style="margin-bottom:12px;">
                                    <label for="thyroidFunction">甲状腺功能7项：</label>
                                    <input type="radio" name="thyroidFunction" id="thyroidFunctionYes2" v-model="medicalService.thyroidFunction" value="1">
                                    <label for="thyroidFunctionYes2">正常</label>
                                    <input type="radio" name="thyroidFunction" id="thyroidFunctionNo2" v-model="medicalService.thyroidFunction" value="2">
                                    <label for="thyroidFunctionNo2">异常</label>
                                </div>
                                <div v-if="medicalService.thyroidFunction == 2" class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;margin-right:50px;width:328px;">
                                        <label for="tshThyroid">促甲状腺激素（TSH）：</label>
                                        <input type="text" name="tshThyroid" id="tshThyroid" class="height form-control"
                                               v-model="medicalService.tshThyroid">
                                        <span style="left:88px;">mIU/L</span>
                                    </div>
                                    <div style="margin-bottom:0px;width:328px;">
                                        <label for="tt3Thyroid">血清三碘甲状腺原氨酸（TT3）：</label>
                                        <input type="text" name="tt3Thyroid" id="tt3Thyroid" class="weightGuide form-control weight"
                                               v-model="medicalService.tt3Thyroid">
                                        <span style="left:80px;">nmol/L</span>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;width:328px;">
                                            <label for="tt4Thyroid">甲状腺素(TT4)：</label>
                                            <input type="text" name="tt4Thyroid" id="tt4Thyroid" class="bmi form-control" v-model="medicalService.tt4Thyroid">
                                            <span style="left:79px;">nmol/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;width:328px;">
                                            <label for="ft3Thyroid">游离三碘甲状腺原氨酸（FT3）：</label>
                                            <input type="text" name="ft3Thyroid" id="ft3Thyroid" class="bmi form-control" v-model="medicalService.ft3Thyroid">
                                            <span style="left:80px;">pmol/L</span>
                                        </div>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;width:328px;">
                                            <label for="ft4Thyroid">游离甲状腺素(FT4)：</label>
                                            <input type="text" name="ft4Thyroid" id="ft4Thyroid" class="bmi form-control" v-model="medicalService.ft4Thyroid">
                                            <span style="left:80px;">pmol/L</span>
                                        </div>
                                    </div>
                                </div>

                                <div style="margin-bottom:0px;">
                                    <label for="femaleTumor">女性肿瘤标志物全套：</label>
                                    <input type="radio" name="femaleTumor" id="femaleTumorYes2" v-model="medicalService.femaleTumor" value="1">
                                    <label for="femaleTumorYes2">正常</label>
                                    <input type="radio" name="femaleTumor" id="femaleTumorNo2" v-model="medicalService.femaleTumor" value="2">
                                    <label for="femaleTumorNo2">异常</label>
                                </div>
                                <div v-if="medicalService.femaleTumor == 2" class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;margin-right:50px;">
                                        <label for="femaleFetoprotein">甲胎蛋白：</label>
                                        <input type="text" name="femaleFetoprotein" id="femaleFetoprotein" class="height form-control"
                                               v-model="medicalService.femaleFetoprotein">
                                        <span style="left:88px;">ng/ml</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="femaleCarcinoembryonic">癌胚抗原：</label>
                                        <input type="text" name="femaleCarcinoembryonic" id="femaleCarcinoembryonic" class="weightGuide form-control weight"
                                               v-model="medicalService.femaleCarcinoembryonic">
                                        <span style="left:89px;">ng/ml</span>
                                    </div>
                                    <div style="margin-bottom:0px;margin-left:30px;">
                                        <label for="ferritin">铁蛋白：</label>
                                        <input type="text" name="ferritin" id="ferritin" class="bmi form-control" v-model="medicalService.ferritin">
                                        <span style="left:89px;">ng/ml</span>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;">
                                            <label for="carbohydrate">糖类抗原125：</label>
                                            <input type="text" name="carbohydrate" id="carbohydrate" class="bmi form-control" v-model="medicalService.carbohydrate">
                                            <span style="left:91px;">U/ML</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:48px;">
                                            <label for="femaleCarbohydrateNine">糖类抗原199：</label>
                                            <input type="text" name="femaleCarbohydrateNine" id="femaleCarbohydrateNine" class="bmi form-control" v-model="medicalService.femaleCarbohydrateNine">
                                            <span style="left:91px;">U/ML</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:37px;">
                                            <label for="femaleCarbohydrateThree">糖类抗原153：</label>
                                            <input type="text" name="femaleCarbohydrateThree" id="femaleCarbohydrateThree" class="bmi form-control" v-model="medicalService.femaleCarbohydrateThree">
                                            <span style="left:92px;">U/ML</span>
                                        </div>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;">
                                            <label for="femaleCarbohydrate">糖类抗原72-4：</label>
                                            <input type="text" name="femaleCarbohydrate" id="femaleCarbohydrate" class="bmi form-control" v-model="medicalService.femaleCarbohydrate">
                                            <span style="left:92px;">U/ML</span>
                                        </div>
                                    </div>
                                </div>

                                <div v-if="medicalService.femaleTumor == 2">
                                    <label for="" style="">补充：</label>
                                    <textarea name="" id="" cols="30" rows="10" style="height:80px;" v-model="medicalService.femaleSupplement"></textarea>
                                </div>
                                <div style="margin-bottom:0px;">
                                    <label for="maleTumor">男性肿瘤标志物全套：</label>
                                    <input type="radio" name="drink2" id="maleTumorYes2" v-model="medicalService.maleTumor" value="1">
                                    <label for="maleTumorYes2">正常</label>
                                    <input type="radio" name="drink2" id="maleTumorNo2" v-model="medicalService.maleTumor" value="2">
                                    <label for="maleTumorNo2">异常</label>
                                </div>
                                <div v-if="medicalService.maleTumor == 2" class="sign_content third" style="margin-left:0px;margin-bottom:20px;">
                                    <div style="margin-bottom:0px;margin-right:50px;">
                                        <label for="maleFetoprotein">甲胎蛋白：</label>
                                        <input type="text" name="maleFetoprotein" id="maleFetoprotein" class="height form-control"
                                               v-model="medicalService.maleFetoprotein">
                                        <span style="left:89px;">ng/ml</span>
                                    </div>
                                    <div style="margin-bottom:0px;">
                                        <label for="maleCarcinoembryonic">癌胚抗原：</label>
                                        <input type="text" name="maleCarcinoembryonic" id="maleCarcinoembryonic" class="weightGuide form-control weight"
                                               v-model="medicalService.maleCarcinoembryonic">
                                        <span style="left:89px;">ng/ml</span>
                                    </div>
                                    <div style="margin-bottom:0px;margin-left:20px;">
                                        <label for="maleCarbohydrate">糖类抗原199：</label>
                                        <input type="text" name="maleCarbohydrate" id="maleCarbohydrate" class="bmi form-control" v-model="medicalService.maleCarbohydrate">
                                        <span style="left:92px;">U/ML</span>
                                    </div>

                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="maleFerritin">铁蛋白：</label>
                                            <input type="text" name="maleFerritin" id="maleFerritin" class="height form-control"
                                                   v-model="medicalService.maleFerritin">
                                            <span style="left:89px;">ng/ml</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="maleCarbohydrateFive">糖类抗原125：</label>
                                            <input type="text" name="maleCarbohydrateFive" id="maleCarbohydrateFive" class="weightGuide form-control weight"
                                                   v-model="medicalService.maleCarbohydrateFive">
                                            <span style="left:89px;">U/ML</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:53px;">
                                            <label for="maleCarbohydrateThree">糖类抗原153：</label>
                                            <input type="text" name="maleCarbohydrateThree" id="maleCarbohydrateThree" class="bmi form-control" v-model="medicalService.maleCarbohydrateThree">
                                            <span style="left:92px;">U/ML</span>
                                        </div>
                                    </div>
                                    <div class="follow2" style="display: block;width:100%;margin:18px 0;">
                                        <div style="margin-bottom:0px;width: 375px;">
                                            <label for="prostate">总前列腺特异性抗原：</label>
                                            <input type="text" name="prostate" id="prostate" class="bmi form-control" v-model="medicalService.prostate">
                                            <span style="left:89px;">ng/ml</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="malesCarbohydrate">糖类抗原72-4：</label>
                                            <input type="text" name="malesCarbohydrate" id="malesCarbohydrate" class="bmi form-control" v-model="medicalService.malesCarbohydrate">
                                            <span style="left:92px;">U/ML</span>
                                        </div>
                                    </div>
                                </div>
                                <%--<div>
                                    <label for="" style="margin-left:20px;">补充：</label>
                                    <textarea name="" id="" cols="30" rows="10" style="height:80px;" v-model="medicalService.maleSupplement"></textarea>
                                </div>--%>
                                <div v-if="medicalService.maleTumor == 2" >
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;width: 375px;">
                                            <label for="maleProstate">游离前列腺特异性抗原：</label>
                                            <input type="text" name="maleProstate" id="maleProstate" class="bmi form-control" v-model="medicalService.maleProstate">
                                            <span style="left:89px;">ng/ml</span>
                                        </div>
                                        <div style="margin-bottom:0px;width: 375px;">
                                            <label for="maleFtprostate">游离/总前列腺特异性抗体(F/T)：</label>
                                            <input type="text" name="maleFtprostate" id="maleFtprostate" class="bmi form-control" v-model="medicalService.maleFtprostate">
                                            <%--<span style="left:92px;">U/ML</span>--%>
                                        </div>
                                    </div>
                                </div>
                                <div v-if="medicalService.maleTumor == 2">
                                    <label for="" >补充：</label>
                                    <textarea name="" id="" cols="30" rows="10" style="height:80px;" v-model="medicalService.malesSupplement"></textarea>
                                </div>
                                <div style="margin-bottom:12px;">
                                    <label for="immunological">免疫功能全套检测组合：</label>
                                    <input type="radio" name="immunological" id="immunologicalYes2" v-model="medicalService.immunological" value="1">
                                    <label for="immunologicalYes2">正常</label>
                                    <input type="radio" name="immunological" id="immunologicalNo2" v-model="medicalService.immunological" value="2">
                                    <label for="immunologicalNo2">异常</label>
                                </div>
                                <div v-if="medicalService.immunological == 2" style="margin-left:20px;">
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:0px;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="c3Complement">补体C3：</label>
                                            <input type="text" name="c3Complement" id="c3Complement" class="height form-control"
                                                   v-model="medicalService.c3Complement">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="c4Complement">补体C4：</label>
                                            <input type="text" name="c4Complement" id="c4Complement" class="weightGuide form-control weight"
                                                   v-model="medicalService.c4Complement">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="igaImmunoglobulin">免疫球蛋白IgA：</label>
                                            <input type="text" name="igaImmunoglobulin" id="igaImmunoglobulin" class="bmi form-control" v-model="medicalService.igaImmunoglobulin">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                    </div>
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:12px;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="iggImmunoglobulin">免疫球蛋白IgG：</label>
                                            <input type="text" name="iggImmunoglobulin" id="iggImmunoglobulin" class="height form-control"
                                                   v-model="medicalService.iggImmunoglobulin">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:14px;">
                                            <label for="igmImmunoglobulin">免疫球蛋白IgM：</label>
                                            <input type="text" name="igmImmunoglobulin" id="igmImmunoglobulin" class="weightGuide form-control weight"
                                                   v-model="medicalService.igmImmunoglobulin">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:61px;">
                                            <label for="igeImmunoglobulin">总IgE测定：</label>
                                            <input type="text" name="igeImmunoglobulin" id="igeImmunoglobulin" class="bmi form-control" v-model="medicalService.igeImmunoglobulin">
                                            <span style="left:87px;">IU/mL</span>
                                        </div>
                                    </div>
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:12px;">
                                        <div style="margin-bottom:0px;margin-right:50px;">
                                            <label for="urineChaink">尿κ-轻链：</label>
                                            <input type="text" name="urineChaink" id="urineChaink" class="height form-control"
                                                   v-model="medicalService.urineChaink">
                                            <span style="left:94px;">mg/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;">
                                            <label for="urineChain">尿λ-轻链：</label>
                                            <input type="text" name="urineChain" id="urineChain" class="weightGuide form-control weight"
                                                   v-model="medicalService.urineChain">
                                            <span style="left:94px;">mg/L</span>
                                        </div>
                                        <div style="margin-bottom:0px;margin-left:20px;">
                                            <label for="bloodChain">血λ轻链：</label>
                                            <input type="text" name="bloodChain" id="bloodChain" class="bmi form-control" v-model="medicalService.bloodChain">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                    </div>
                                    <div class="sign_content third" style="margin-left:0px;margin-bottom:0px;margin-top:12px;">
                                        <div style="margin-bottom:0px;">
                                            <label for="bloodChaink">血K轻链：</label>
                                            <input type="text" name="bloodChaink" id="bloodChaink" class="bmi form-control" v-model="medicalService.bloodChaink">
                                            <span style="left:109px;">g/L</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;background-color:#35acfd;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <span class="title">检查：</span>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <label for="bginspectionDate" style="margin-left:20px;">骨密度  检查日期：</label>
                                    <div class="bginspectionDate date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                                         style="display:inline-block !important;width:15%;">
                                        <input id="bginspectionDate" type="text" class="lay-date"
                                               readonly style="width:100% !important;">
                                    </div>
                                    <div>
                                        <div style="width:1000px;margin-left:15px;margin-top:20px;min-width:920px;">
                                            <ul class="month">
                                                <li>区域</li>
                                                <li>骨密度（g/cm2）</li>
                                                <li>T-值</li>
                                            </ul>
                                            <ul class="month">
                                                <li>腰椎1</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineOneb" v-model="medicalService.lumbarSpineOneb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineOnet" v-model="medicalService.lumbarSpineOnet"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>腰椎2</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineTwob" v-model="medicalService.lumbarSpineTwob"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineTwot" v-model="medicalService.lumbarSpineTwot"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>腰椎3</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineThreeb" v-model="medicalService.lumbarSpineThreeb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineThreet" v-model="medicalService.lumbarSpineThreet"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>腰椎4</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineFourb" v-model="medicalService.lumbarSpineFourb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="lumbarSpineFourt" v-model="medicalService.lumbarSpineFourt"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>L1-L2</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numonetwob" v-model="medicalService.numonetwob"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numonetwot" v-model="medicalService.numonetwot"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>L1-L3</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numonethreeb" v-model="medicalService.numonethreeb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numonethreet" v-model="medicalService.numonethreet"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>L1-L4</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numonefourb" v-model="medicalService.numonefourb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numonefourt" v-model="medicalService.numonefourt"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>L2-L3</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numtwothreeb" v-model="medicalService.numtwothreeb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numtwothreet" v-model="medicalService.numtwothreet"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>L2-L4</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numtwofourb" v-model="medicalService.numtwofourb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numtwofourt" v-model="medicalService.numtwofourt"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>L3-L4</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numthreefourb" v-model="medicalService.numthreefourb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="numthreefourt" v-model="medicalService.numthreefourt"/></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="way_content">
                                <div style="margin-bottom:0px;">
                                    <div>
                                        <div style="width:1000px;margin-left:15px;margin-top:20px;min-width:920px;">
                                            <ul class="month">
                                                <li>区域</li>
                                                <li>骨密度（g/cm2）</li>
                                                <li>T-值</li>
                                            </ul>
                                            <ul class="month">
                                                <li>颈</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="neckb" v-model="medicalService.neckb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="neckt" v-model="medicalService.neckt"/></li>
                                            </ul>
                                            <ul class="month">
                                                <li>全髋</li>
                                                <li><input type="text" style="border:0px;width:75%;" name="totalHipb" v-model="medicalService.totalHipb"/></li>
                                                <li><input type="text" style="border:0px;width:75%;" name="totalHipt" v-model="medicalService.totalHipt"/></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="way">
                            <span style="width:5px;padding-bottom:25px;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                            <label for="xinspectionDate" style="margin-left:20px;">胸腰椎X线侧位片  检查日期：</label>
                            <div class="xinspectionDate date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                                 style="display:inline-block !important;width:15%;">
                                <input id="xinspectionDate" type="text" class="lay-date"
                                       readonly style="width:100% !important;">
                            </div>
                            <label for="" style="margin-left:20px;">结果：</label>
                            <textarea name="" id="resultX" cols="10" rows="10" style="height:80px;margin-left:50px;" v-model="medicalService.resultx"></textarea>
                        </div>
                    </div>
                    <div class="way">
                        <span style="width:5px;padding-bottom:25px;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                        <label for="ctinspectionDate" style="margin-left:20px;">胸腰椎CT平扫  检查日期：</label>
                        <div class="ctinspectionDate date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                             style="display:inline-block !important;width:15%;">
                            <input id="ctinspectionDate" type="text" class="lay-date"
                                   readonly style="width:100% !important;">
                        </div>
                        <label for="" style="margin-left:20px;">结果：</label>

                        <textarea name="" id="resultCT" cols="10" rows="10" style="height:80px;margin-left:50px;" v-model="medicalService.resultct"></textarea>
                    </div>
                </div>
                <div class="way">
                    <span style="width:5px;padding-bottom:25px;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                    <label for="mrinspectionDate" style="margin-left:20px;">胸腰椎MR平扫  检查日期：</label>
                    <div class="mrinspectionDate date form_date" data-date-format="yyyy-mm-dd HH:mm:ss"
                         style="display:inline-block !important;width:15%;">
                        <input id="mrinspectionDate" type="text" class="lay-date"
                               readonly style="width:100% !important;">
                    </div>

                    <label for="" style="margin-left:20px;">结果：</label>
                    <textarea name="" id="resultMR" cols="10" rows="10" style="height:80px;margin-left:50px;" v-model="medicalService.resultmr"></textarea>
                </div>
                <div class="way">
                    <div class="illness"
                         style="margin-top:20px;background-color: #ffffff;box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.05);padding-bottom:10px;">
                        <div>
                            <div style="margin-left:19px;">
                                <div style="margin-bottom:10px;">
                                    <h3 style="display:inline-block;margin-top:20px;">用药信息</h3>
                                    <button type="button" class="btn btn-info" @click="addMedical()" v-show="!slide"
                                            style="margin-top:20px;">更多
                                    </button>
                                </div>
                                <div id="table">
                                    <table id="example1" class="display" cellspacing="10" width="95%">
                                        <thead>
                                        <tr>
                                            <th></th>
                                            <th>序号</th>
                                            <th></th>
                                            <th>药名</th>
                                            <th>数量（剂量）</th>
                                            <th>用法</th>
                                            <th>药物调整</th>
                                            <th>开立医生</th>
                                            <th>开立时间</th>
                                        </tr>
                                        </thead>
                                    </table>
                                    <p v-show="slide">暂无数据</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="way">
                    <span style="width:5px;padding-bottom:25px;display:inline-block;vertical-align:middle;margin-right:10px;"></span>
                    <span class="title">下次检查项目：</span>
                    <div class="way_content">
                        <div style="padding:6px 25px;width:100%;margin-bottom: 0px;vertical-align: top;" id="nextInspection" ref="nextInspection">
                                        <span v-for="(item,key) in nextInspection" :key="key" style="display:inline-block;margin:0 20px 18px 0;">
                                            <input type="checkbox" :name="item.checkName" :checked="item.check" :value="item.id" :id="item.forId" @click="medicineTypeCheckMc(item)" />
                                            <label :for="item.forId">{{item.name}}</label>
                                        </span>
                        </div>
                    </div>
                </div>
                <%--<div class="way">
                        <div class="illness"
                             style="margin-top:20px;background-color: #ffffff;box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.05);padding-bottom:10px;">
                            <div>
                                <div style="margin-left:19px;">
                                    <div style="margin-bottom:10px;">
                                        <h3 style="display:inline-block;margin-top:20px;">用药信息</h3>
                                        <button  type="button" class="btn btn-info" @click="UpdateMedical()" style="margin-right:20px;margin-top:20px;" >
                                            <img src="../../assets/images/revise.png" alt="" style="width:14px;vertical-align: middle;">&nbsp;&nbsp;修改
                                        </button>
                                        <button  type="button" class="btn btn-info" @click="deletMedical()" style="margin-right:20px;margin-top:20px;" >
                                            删除
                                        </button>
                                        <button type="button" class="btn btn-info" @click="toAddMedical()"
                                                style="margin-right:20px;margin-top:20px;">
                                            <img src="../../assets/images/add.png" alt="" style="width:14px;vertical-align: middle;">&nbsp;&nbsp;添加
                                        </button>
                                    </div>
                                    <div id="table">
                                        <table id="example1" class="display" cellspacing="10" width="95%">
                                            <thead>
                                            <tr>
                                                <th></th>
                                                <th>序号</th>
                                                <th></th>
                                                <th>药名</th>
                                                <th>数量（剂量）</th>
                                                <th>规格</th>
                                                <th>频度（次数）</th>
                                                <th>用法</th>
                                                <th>开立医生</th>
                                                <th>开立时间</th>
                                            </tr>
                                            </thead>
                                        </table>
                                        <p>暂无数据</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>--%>

                <div class="way" style="text-align: center;height:80px;">
                    <button type="button" class="btn btn-info" @click="saveMedicalCare()">
                        <img src="${assets}/images/revise.png" alt="" style="width:16px;vertical-align: middle;"> 保存
                    </button>
                </div>
            </div>

        </div>

    </div>

</div>
</div>
</div>
</div>

<script>
    var vm =　new Vue({
        el : "#main",
        data: {
            slide: false,
            infor: [],//病人基本信息data
            idCard:'',
            BMI:'',
            id:'',
            num:1,
            riskId:'',
            accompanyBlId:'',
            remark: '',
            saveDisabled: false,
            synchronous:false,
            btnText:'',
            // blMedicineYear:[1,2,3],
            // blMedicineDose:[4,5,6],
            medicineYear:[
                {
                    blMedicineYear:'',
                    blMedicineDose:''
                },
                {
                    blMedicineYear:'',
                    blMedicineDose:''
                },
                {
                    blMedicineYear:'',
                    blMedicineDose:''
                }

            ],
            blMedicineType:[
                {
                    name: '钙片',
                    id: '1',
                    checkName: 'blmedicineType',
                    forId: 'blmedicineType1',
                    check:false
                },
                {
                    name: '维生素D制剂',
                    id: '2',
                    checkName: 'blmedicineType',
                    forId: 'blmedicineType2',
                    check:false
                },
                {
                    name: '抗骨质疏松药物（如福美加、唑来膦酸等）',
                    id: '3',
                    checkName: 'blmedicineType',
                    forId: 'blmedicineType3',
                    check:false
                }

            ],
            dieaseType: [
                {
                    name: '甲状腺疾患（甲状腺功能亢进、甲状旁腺功能亢进）',
                    id: '1',
                    checkName: 'dieaseType',
                    forId: 'dieaseType1',
                    check:false
                },
                {
                    name: '糖尿病',
                    id: '2',
                    checkName: 'dieaseType',
                    forId: 'dieaseType2',
                    check: false
                },
                {
                    name: '类风湿性关节炎',
                    id: '3',
                    checkName: 'dieaseType',
                    forId: 'dieaseType3',
                    check: false
                },
                {
                    name: '慢性肾脏病',
                    id: '14',
                    checkName: 'dieaseType',
                    forId: 'dieaseType14',
                    check: false
                },
                {
                    name: '慢性肝病',
                    id: '4',
                    checkName: 'dieaseType',
                    forId: 'dieaseType4',
                    check:false
                },
                {
                    name: '前列腺癌',
                    id: '5',
                    checkName: 'dieaseType',
                    forId: 'dieaseType5',
                    check: false
                },
                {
                    name: '乳腺癌',
                    id: '6',
                    checkName: 'dieaseType',
                    forId: 'dieaseType6',
                    check: false
                },
                {
                    name: '多发性骨髓癌',
                    id: '7',
                    checkName: 'dieaseType',
                    forId: 'dieaseType7',
                    check: false
                },
                {
                    name: '消化道疾病（慢性腹泻、营养不良/吸收不良、炎症性肠病、腹腔疾病）',
                    id: '8',
                    checkName: 'dieaseType',
                    forId: 'dieaseType8',
                    check: false
                },
                {
                    name: '慢性阻塞性肺病',
                    id: '9',
                    checkName: 'dieaseType',
                    forId: 'dieaseType9',
                    check: false
                },
                {
                    name: '性腺功能减退',
                    id: '10',
                    checkName: 'dieaseType',
                    forId: 'dieaseType10',
                    check: false
                },
                {
                    name: '早绝经',
                    id: '11',
                    checkName: 'dieaseType',
                    forId: 'dieaseType11',
                    check: false
                },
                {
                    name: '制动',
                    id: '12',
                    checkName: 'dieaseType',
                    forId: 'dieaseType12',
                    check: false
                },
                {
                    name: 'HIV',
                    id: '13',
                    checkName: 'dieaseType',
                    forId: 'dieaseType13',
                    check: false
                }
            ],
            dieaseType2: [
                {
                    name: '甲状腺疾患（甲状腺功能亢进、甲状旁腺功能亢进）',
                    id: '1',
                    checkName: 'dieaseType',
                    forId: 'dieaseType1',
                    check:false
                },
                {
                    name: '糖尿病',
                    id: '2',
                    checkName: 'dieaseType',
                    forId: 'dieaseType2',
                    check: false
                },
                {
                    name: '类风湿性关节炎',
                    id: '3',
                    checkName: 'dieaseType',
                    forId: 'dieaseType3',
                    check: false
                },
                {
                    name: '慢性肾脏病',
                    id: '14',
                    checkName: 'dieaseType',
                    forId: 'dieaseType14',
                    check: false
                },
                {
                    name: '慢性肝病',
                    id: '4',
                    checkName: 'dieaseType',
                    forId: 'dieaseType4',
                    check:false
                },
                {
                    name: '前列腺癌',
                    id: '5',
                    checkName: 'dieaseType',
                    forId: 'dieaseType5',
                    check: false
                },
                {
                    name: '乳腺癌',
                    id: '6',
                    checkName: 'dieaseType',
                    forId: 'dieaseType6',
                    check: false
                },
                {
                    name: '多发性骨髓癌',
                    id: '7',
                    checkName: 'dieaseType',
                    forId: 'dieaseType7',
                    check: false
                },
                {
                    name: '消化道疾病（慢性腹泻、营养不良/吸收不良、炎症性肠病、腹腔疾病）',
                    id: '8',
                    checkName: 'dieaseType',
                    forId: 'dieaseType8',
                    check: false
                },
                {
                    name: '慢性阻塞性肺病',
                    id: '9',
                    checkName: 'dieaseType',
                    forId: 'dieaseType9',
                    check: false
                },
                {
                    name: '性腺功能减退',
                    id: '10',
                    checkName: 'dieaseType',
                    forId: 'dieaseType10',
                    check: false
                },
                {
                    name: '早绝经',
                    id: '11',
                    checkName: 'dieaseType',
                    forId: 'dieaseType11',
                    check: false
                },
                {
                    name: '制动',
                    id: '12',
                    checkName: 'dieaseType',
                    forId: 'dieaseType12',
                    check: false
                },
                {
                    name: 'HIV',
                    id: '13',
                    checkName: 'dieaseType',
                    forId: 'dieaseType13',
                    check: false
                }
            ],
            medicineType: [
                {
                    name: '糖皮质激素（泼尼松等）',
                    id: '1',
                    checkName: 'medicineType',
                    forId: 'medicineType1',
                    check:false
                },
                {
                    name: '抗凝剂（肝素）',
                    id: '2',
                    checkName: 'medicineType',
                    forId: 'medicineType2',
                    check: false
                },
                {
                    name: ' 治疗癫痫的抗惊厥药（（如苯巴比妥、卡马西平、苯妥英））',
                    id: '3',
                    checkName: 'medicineType',
                    forId: 'medicineType3',
                    check: false
                },
                {
                    name: '移植术后免疫抑制剂（钙调蛋白/钙调神经磷酸酶抑制剂）',
                    id: '4',
                    checkName: 'medicineType',
                    forId: 'medicineType4',
                    check:false
                },
                {
                    name: '治疗乳腺癌的芳香化酶抑制剂',
                    id: '5',
                    checkName: 'medicineType',
                    forId: 'medicineType5',
                    check: false
                },
                {
                    name: '治疗前列腺癌的去雄激素治疗',
                    id: '6',
                    checkName: 'medicineType',
                    forId: 'medicineType6',
                    check: false
                },
                {
                    name: '抗抑郁药（如氟西汀、帕罗西汀',
                    id: '7',
                    checkName: 'medicineType',
                    forId: 'medicineType7',
                    check: false
                },
                {
                    name: '质子泵抑制剂',
                    id: '8',
                    checkName: 'medicineType',
                    forId: 'medicineType8',
                    check: false
                },
                {
                    name: '降糖药（噻唑烷二酮类（罗格列酮、吡格列酮））',
                    id: '9',
                    checkName: 'medicineType',
                    forId: 'medicineType9',
                    check: false
                },
                {
                    name: ' 以上均不是',
                    id: '10',
                    checkName: 'medicineType',
                    forId: 'medicineType10',
                    check: false
                }
            ],
            medicineType2: [
                {
                    name: '糖皮质激素（泼尼松等）',
                    id: '1',
                    checkName: 'medicineType',
                    forId: 'medicineType1',
                    check:false
                },
                {
                    name: '抗凝剂（肝素）',
                    id: '2',
                    checkName: 'medicineType',
                    forId: 'medicineType2',
                    check: false
                },
                {
                    name: ' 治疗癫痫的抗惊厥药（（如苯巴比妥、卡马西平、苯妥英））',
                    id: '3',
                    checkName: 'medicineType',
                    forId: 'medicineType3',
                    check: false
                },
                {
                    name: '移植术后免疫抑制剂（钙调蛋白/钙调神经磷酸酶抑制剂）',
                    id: '4',
                    checkName: 'medicineType',
                    forId: 'medicineType4',
                    check:false
                },
                {
                    name: '治疗乳腺癌的芳香化酶抑制剂',
                    id: '5',
                    checkName: 'medicineType',
                    forId: 'medicineType5',
                    check: false
                },
                {
                    name: '治疗前列腺癌的去雄激素治疗',
                    id: '6',
                    checkName: 'medicineType',
                    forId: 'medicineType6',
                    check: false
                },
                {
                    name: '抗抑郁药（如氟西汀、帕罗西汀',
                    id: '7',
                    checkName: 'medicineType',
                    forId: 'medicineType7',
                    check: false
                },
                {
                    name: '质子泵抑制剂',
                    id: '8',
                    checkName: 'medicineType',
                    forId: 'medicineType8',
                    check: false
                },
                {
                    name: '降糖药（噻唑烷二酮类（罗格列酮、吡格列酮））',
                    id: '9',
                    checkName: 'medicineType',
                    forId: 'medicineType9',
                    check: false
                },
                {
                    name: ' 以上均不是',
                    id: '10',
                    checkName: 'medicineType',
                    forId: 'medicineType10',
                    check: false
                }
            ],
            checkData: {
                // 无药物骨松随访 start
                blMedicine: '',
                blMedicineTime: '',
                blMedicineType: [],
                blNoMedicalType: '',
                boneDensity: '',
                blMajor: '',
                hip: '',
                osta: '',
                iofParentBl: '',
                iofParentHunchback: '',
                iofAgeSixty: '',
                iofBlFall: '',
                iofFallOften: '',
                iofHeightThree: '',
                iofBmiLight: '',
                iofMedicineThreeMonth: '',
                iofRa: '',
                iofThyroid: '',
                iofMenopauseFortyFive: '',
                iofMenopauseMoreTwelveMonth: '',
                iofNoOarium: '',
                iofLibidoDecrease: '',
                iofMoreDrink: '',
                iofSmoke: '',
                iofExerciseLess: '',
                iofNoMilk: '',
                iofNoVitaminD: '',
                iofResult: '',
                dxaDo: '',
                dxaKnow: '',
                dxaDoTime: '',
                dxaCountPerYear: '',
                dxaYears: '',
                height: '',
                weight: '',
                bmi: '',
                heightLess: '',
                heightLessItem:'',
                humpback: '',
                menopause: '',
                gestation: '',
                fall: '',
                sun: '',
                smoke: '',
                smokeCountPerDay: '',
                smokeYear: '',
                quitSmoking:'',
                drink: '',
                drinkType: '',
                drinkMl: '',
                drinkYear: '',
                tea: '',
                teaType: '',
                teaMl: '',
                teaYear: '',
                coffee: '',
                coffeeMl: '',
                coffeeYear: '',
                milk: '',
                milkType: '',
                milkMl: '',
                milkYear: '',
                exercise: '',
                exerciseType: '',
                exerciseMinPerDay: '',
                exerciseYear: '',
                dietary: '',
                selffractu: '',
                selffractuFirstPlace: '',
                selffractuFirstAge: '',
                selffractuFirstReason: '',
                selffractuSecondPlace: '',
                selffractuSecondAge: '',
                selffractuSecondReason: '',
                selffractuThirdPlace: '',
                selffractuThirdAge: '',
                selffractuThirdReason: '',
                selffractuDesc: '',
                // 家族史
                parentOsteoporosis:'',
                parentHunchback:'',
                parentFracture: '',
                parentFractureFirstPlace: '',
                parentFractureFirstAge: '',
                parentFractureFirstReason: '',
                parentFractureSecondPlace: '',
                parentFractureSecondAge: '',
                parentFractureSecondReason: '',
                parentFractureThirdPlace: '',
                parentFractureThirdAge: '',
                parentFractureThirdReason: '',
                selffractuFirstSurgery:'',
                followFirstSurgery:'',
                selffractuSecondSurgery:'',
                parentFractureFirstSurgery:'',
                parentFractureSecondSurgery:'',
                disease: '',
                dieaseType: [],
                diseaseDesc: '',
                medicine: '',
                medicineType: [],
                medicineDesc: '',
                operation: '',
                operationType: '',
                operationOther: '',
                painScore: '',
                painPlace: '',
                standWalkTest: '',
                tugTime: '',
                tlXCheck: '',
                centrumSelffractu: '',
                clinic: '',
                takemed: '',
                dxaRepeat: '',
                walkAction: '',
                selfCare: '',
                dailyAction: '',
                painType: '',
                anxiety: '',
                healthScore: '',
                // 无药物骨松随访 end
                //
                doctorName: '',
                accompanyTime: '',
                queryTime:'',
                accompanyType: '',
                doctorId: '',
                // nextAccompanyTime: '',
                // medicalList: [],
                // linePhoto: '',
                // 当点击修改的时候才有的对应 id
                id: '',
                // 身份证
                idCard: '',
                accompanyBlId: '',
                operationYear:'',
                operationPart:'',
                blMedicineYear:'',
                blMedicineDose:''
            },
            blData:{
                hadBl:'',
                ageForty:'',
                fallFracture:'',
                oftenFall:'',
                reduceHeight:'',
                lowWeight:'',
                medicineThreeMonth:'',
                arthritis:'',
                thyroid:'',
                menstruationAgo:'',
                androgen:'',
                drinkWine:'',
                smoke:'',
                sportLess:'',
                notCalcium:'',
                humpback:'',
                menstruation:'',
                estrogen:'',
                androgen:'',
                sport:'',
                check:'',
                checkResult:'',
                osteoporosis:'',
                fracture:'',
                diagnosis:'',
                diagnosisMsg:'',
                advice:'',
                riskLevel:'',
                osta:'',
                screeningTime:''
            },
            accompany:{
                id:'',
                blNoMedicalType:'',
                accompanyTime:'',
                surveyer:'',
                surveyerPhone:'',
                height:'',
                weight:'',
                heightLessItem:'',
                heightLess:'',
                humpback:'',
                smoke:'',
                smokeYear:'',
                quitSmoking:'',
                smokeCountPerDay:'',
                drink:'',
                drinkType:'',
                drinkMl:'',
                drinkYear:'',
                tea:'',
                teaType:'',
                coffee:'',
                coffeeMl:'',
                coffeeYear:'',
                milk:'',
                milkType:'',
                milkMl:'',
                milkYear:'',
                dietary:'',
                sunbathe:'',
                exercise:'',
                exerciseType:'',
                exerciseMinPerDay:'',
                exerciseYear:'',
                fall:'',
                dxaDo:'',
                clinic:'',
                takemed:'',
                blMedicine:'',
                blMedicineTime:'',
                blMedicineType:'',
                blMedicineYear:'',
                blMedicineDose:'',
                selffractuFirstPlace:'',
                selffractuFirstAge:'',
                selffractuFirstReason:'',
                selffractu:'',
                dieaseType:[],
                medicineType:[],
                medicineDesc:'',
                operation:'',
                operationType:'',
                operationPart:'',
                operationOther:'',
                operationYear:'',
                painScore:'',
                painPlace:'',
                walkAction:'',
                selfCare:'',
                dailyAction:'',
                painType:'',
                anxiety:'',
                healthScore:'',
                // 测试aa
                takemed:'',
                blMedicine:'',
                blMedicineTime:'',
                blMedicineType:'',
                followFirstSurgery:'',

                tlXCheck:'',
                centrumSelffractu:''
            },
            accompanyBMI:'',
            blNoMedicalType:'',
            commonBasic:{
                smoke: '',
                smokeCountPerDay: '',
                smokeYear: '',
                quitSmoking:'',
                drink: '',
                drinkType: '',
                drinkMl: '',
                drinkYear: '',
                tea: '',
                teaType: '',
                teaMl: '',
                teaYear: '',
                coffee: '',
                coffeeMl: '',
                coffeeYear: '',
                milk: '',
                milkType: '',
                milkMl: '',
                milkYear: '',
                exercise: '',
                exerciseType: '',
                exerciseMinPerDay: '',
                exerciseYear: '',
                sunbathe: '',
                dietary: ''
            },
            //医疗服务
            nextInspection:[
                {
                    name: 'DXA',
                    id: '1',
                    checkName: 'nextInspection',
                    forId: 'nextInspection1',
                    check:false
                },
                {
                    name: '胸腰椎X线',
                    id: '2',
                    checkName: 'nextInspection',
                    forId: 'nextInspection2',
                    check: false
                },
                {
                    name: ' CT',
                    id: '3',
                    checkName: 'nextInspection',
                    forId: 'nextInspection3',
                    check: false
                },
                {
                    name: 'MR',
                    id: '4',
                    checkName: 'nextInspection',
                    forId: 'nextInspection4',
                    check:false
                },
                {
                    name: '骨代谢',
                    id: '5',
                    checkName: 'nextInspection',
                    forId: 'nextInspection5',
                    check: false
                },
                {
                    name: '常规化验',
                    id: '6',
                    checkName: 'nextInspection',
                    forId: 'nextInspection5',
                    check: false
                },{
                    name: '无',
                    id: '0',
                    checkName: 'nextInspection',
                    forId: 'nextInspection6',
                    check: false
                },
            ],
            medicalService: {
                followDate: '',//随访时间
                naxtFollowDate: '',//下次随访时间
                chiefComplaint: '',//主诉（腰背痛、骨痛、肌肉抽搐、乏力、行走距离、新发骨折等）
                explanations: '',//其他说明的情况
                physical: '',//查体
                diagnosis: '',//诊断
                classification: '',//分级
                femaleCarbohydrateNine: '',//糖类抗原199
                femaleCarbohydrateThree: '',//糖类抗原153
                maleFerritin: '',//铁蛋白
                maleCarbohydrateFive: '',//糖类抗原125
                maleCarbohydrateThree: '',//糖类抗原153

                inspectionDate: '',//检查日期
                bginspectionDate: '',//检查日期
                xinspectionDate: '',//胸腰椎X线侧位片
                mrinspectionDate: '',//胸腰椎MR平扫
                ctinspectionDate: '',//胸腰椎CT平扫
                ysinspectionDate: '',// 用药情况
                balpMedicine: '',//骨特异性碱性磷酸酶（BALP)
                ocMedicine: '',//骨钙素（OC）
                pnpMedicine: '',//总I型胶原氨基端延长肽（P1NP）
                ctxMedicine: '',//β胶原联降解产物（β-CTX）
                wssdMedicine: '',//25-羟维生素D
                pthMedicine: '',//甲状旁腺素（PTH)
                calcium: '',//总钙
                phosphorus: '',//磷
                routineBloodTest: '',//血常规正常
                whiteBloodCell: '',//白细胞
                redBloodCell: '',//红细胞
                hemoglobin: '',// 血红蛋白
                platelet: '',// 血小板
                urinalysis: '',// 尿常规正常
                urineProtein: '',// 尿蛋白
                bld: '',// 尿隐血
                urineSugar: '',// 尿糖
                esr: '',// 血沉
                biochemistry: '',// 生化正常
                totalProtein: '',// 总蛋白
                albumin: '',// 白蛋白
                globulin: '',// 球蛋白
                totalBilirubin: '',// 总胆红素
                alanine: '',// 谷丙转氨酶
                aspartate: '',// 谷草转氨酶
                alkaline: '',// 碱性磷酸酶
                creatinine: '',// 肌酐
                thyroidFunction: '',// 甲状腺功能7项正常
                tshThyroid: '',// 促甲状腺激素（TSH）
                tt3Thyroid: '',// 血清三碘甲状腺原氨酸（TT3）
                tt4Thyroid: '',// 甲状腺素(TT4)
                ft3Thyroid: '',// 游离三碘甲状腺原氨酸（FT3）
                ft4Thyroid: '',// 游离甲状腺素(FT4)
                femaleTumor: '',// 女性肿瘤标志物全套正常
                femaleFetoprotein: '',// 甲胎蛋白
                femaleCarcinoembryonic: '',// 癌胚抗原
                ferritin: '',// 铁蛋白
                carbohydrate: '',// 糖类抗原
                femaleCarbohydrate: '',// 糖类抗原72-4
                femaleSupplement: '',// 补充
                maleTumor: '',// 男性肿瘤标志物全套正常
                maleFetoprotein: '',// 甲胎蛋白
                maleCarcinoembryonic: '',// 癌胚抗原
                maleCarbohydrate: '',// 糖类抗原
                prostate: '',// 总前列腺特异性抗原
                malesCarbohydrate: '',// 糖类抗原72-4
                maleSupplement: '',// 补充
                maleProstate: '',// 游离前列腺特异性抗原
                maleFtprostate: '',// 游离/总前列腺特异性抗体(F/T)
                malesSupplement: '',// 补充
                immunological: '',// 免疫功能全套检测组合正常
                c3Complement: '',// 补体C3
                c4Complement: '',// 补体C4
                igaImmunoglobulin: '',// 免疫球蛋白IgA
                iggImmunoglobulin: '',// 免疫球蛋白IgG
                igmImmunoglobulin: '',// 免疫球蛋白IgM
                igeImmunoglobulin: '',// 总IgE测定
                urineChaink: '',// 尿κ-轻链
                urineChain: '',// 尿λ-轻链
                bloodChain: '',// 血λ轻链
                bloodChaink: '',// 血K轻链
                lumbarSpineOneb: '',// 腰椎1-骨密度
                lumbarSpineOnet: '',// 腰椎1-T-值
                lumbarSpineTwob: '',// 腰椎2-骨密度
                lumbarSpineTwot: '',// 腰椎2-T-值
                lumbarSpineThreeb: '',// 腰椎3-骨密度
                lumbarSpineThreet: '',// 腰椎3-T-值
                lumbarSpineFourb: '',// 腰椎4-骨密度
                lumbarSpineFourt: '',// 腰椎4-T-值
                numonetwob: '',// L1-L2-骨密度
                numonetwot: '',// L1-L2-T-值
                numonethreeb: '',// L1-L3-骨密度
                numonethreet: '',// L1-L3-T-值
                numonefourb: '',// L1-L4-骨密度
                numonefourt: '',//L1-L4-T-值
                numtwothreeb: '',//L2-L3-骨密度
                numtwothreet: '',//L2-L3-T-值
                numtwofourb: '',//L2-L4-骨密度
                numtwofourt: '',//L2-L4-T-值
                numthreefourb: '',//L3-L4-骨密度
                numthreefourt: '',//L3-L4-T-值
                neckb: '',//颈-骨密度
                neckt: '',//颈-T-值
                totalHipb: '',//全髋-b-值
                totalHipt: '',//全髋-T-值
                resultx: '',//结果
                resultct: '',//结果
                resultmr: '',//结果
                examination: '',//药物名称
                dosage: '',//用法用量
                drug : '',//药物调整及时间
                nextInspection: '',//下次检查项目
                id: '',
                // 身份证
                idCard: '',
                accompanyBlId: '',
            },

        },
        mounted(){
            initLayDate('#accompanyDate');
            initLayDate('#queryTime');
            initLayDate('#screeningTime');
            initLayDate('#inspectionDate');
            initLayDate('#bginspectionDate');
            initLayDate('#xinspectionDate');
            initLayDate('#mrinspectionDate');
            initLayDate('#ctinspectionDate');
            /*initLayDate('#ysinspectionDate');*/
            initLayDate('#followDate');
            initLayDate('#naxtFollowDate');
            this.idCard = this.getUrlParam('idCard');
            this.checkData.idCard = this.getUrlParam('idCard');
            this.accompany.idCard = this.getUrlParam('idCard');
            this.getpersonalInfo();
            var fresh = this.getUrlParam('fresh');
            if(!fresh){
                this.changeTab(1);
            }else{
                $('ul li.service').addClass('active').siblings('li').removeClass('active');
                this.changeTab(5);
            }
        },
        methods: {
            getRadioVal(){
                // alert(this.blData.humpback);
            },
            changeOperation(){
                this.checkData.operationYear = '';
            },
            selectMedicine(){
                this.checkData.blMedicineDose = '';
                this.checkData.blMedicineYear = '';
            },
            changeTab(index){
                this.num = index;
                if(this.num == 1){
                    this.getpersonalInfo();
                }else if(this.num == 2){
                    this.getInitData();
                }else if(this.num == 3){
                    this.blNoMedicalType = 0;
                    this.checkData.blNoMedicalType = 0;
                    this.getFirstData();
                    // this.getQuestionnaireData();
                }else if(this.num == 4){
                    this.blNoMedicalType = 1;
                    this.accompany.blNoMedicalType = 1;
                    // this.getFirstData();
                    // this.getAccompanyData();
                }else if(this.num == 5){
                    <%--this.getMedicalService();--%>
                    this.initTable();
                }
            },
            getSelectArray(data, item) {
                console.debug(data);
                if (data == '') {
                    data = []
                } else if (data.constructor != Array) {
                    data = data.split(',')
                }
                if (!item.check) {
                    item.check = true;
                    data.push(item.id)
                } else {
                    item.check = false;
                    var index = data.indexOf(item.id);
                    if (index > -1) {
                        data.splice(index, 1);
                    }
                }
                if (data.indexOf('[]') > -1) {
                    data = data.replace(/[]/g, "");
                }
                return data;
            },
            showMoreCheck(locaData,data){
                // 字符串为空
                if(data.length == 0 || data == '' || data == null) {
                    data = '';
                }else {
                    // if(data.indexOf(',') == -1)
                    // 字符串包含英文,则说明是数组

                    data = data.split(',');
                }
                // else {
                //     // 单个字符串 eg: '1'
                //   data = data.split(',');
                // }
                for( var a = 0; a < locaData.length; a++ ){
                    locaData[a].check = false;

                    for( var i = 0; i < data.length; i++ ){
                        if( locaData[a].id == data[i] ){
                            locaData[a].check = true
                        }
                    }
                }
            },
            showMoreCheckOther(locaData, data) {
                // 字符串为空
                if (data.length == 0 || data == '' || data == null) {
                    data = '';
                } else if (data.indexOf(',') != -1) {
                    // 字符串包含英文,则说明是数组
                    data = data.split(',');
                } else {
                    // 单个字符串 eg: '1'
                    data = data.split('');
                }
                for (var a = 0; a < locaData.length; a++) {
                    for (var i = 0; i < data.length; i++) {
                        if (locaData[a].id == data[i]) {
                            locaData[a].checked = true
                        }
                    }
                }
            },
            dieaseTypeCheck(item){
                let that = this;
                if(that.blNoMedicalType == 0){
                    that.checkData.dieaseType = that.getSelectArray(that.checkData.dieaseType,item);
                }else{
                    that.accompany.dieaseType = that.getSelectArray(that.accompany.dieaseType,item);
                }

            },
            takemedicineTypeCheck(item){
                let that = this;
                if(that.blNoMedicalType === 0){
                    that.checkData.blMedicineType = that.getSelectArray(that.checkData.blMedicineType,item);
                }else{
                    that.accompany.blMedicineType = that.getSelectArray(that.accompany.blMedicineType,item);
                }
            },
            medicineTypeCheck(item){
                let that = this;
                if(that.blNoMedicalType === 0){
                    that.checkData.medicineType = that.getSelectArray(that.checkData.medicineType,item);
                }else{
                    that.accompany.medicineType = that.getSelectArray(that.accompany.medicineType,item);
                }

            },
            medicineTypeCheckMc(item){
                let that = this;
                that.medicalService.nextInspection = that.getSelectArray(that.medicalService.nextInspection,item);
            },
            getFirstData() {
                // ceshi111
                let that = this;
                $.ajax({
                    //URL_ACCOMPANY_BLLIST   URL_ACCOMPANY_BLDATA_NO_MEDICAL
                    url: '${URL_ACCOMPANY_BLLIST}?idCard='+ this.idCard,
                    contentType: 'application/json;charset=utf-8',
                    type: 'post',
                    success: function (data) {
                        var data = JSON.parse(data); //可以将json字符串转换成json对象
                        var accompanyBlId = '';
                        var NomedicalArray = [];
                        var dataList = data.dataList;
                        NomedicalArray = dataList.filter(function(item){
                            if(item.hasMedical == '0'){
                                return item;
                            }
                        });
                        if(NomedicalArray.length <= 0){
                            that.checkData.height = that.infor.height;
                            that.checkData.weight = that.infor.weight;
                            that.accompany.height = that.infor.height;
                            that.accompany.weight = that.infor.weight;
                            return
                        }else if(NomedicalArray.length == 1){
                            if((NomedicalArray[0].remark == '0')){
                                that.accompany.height = that.infor.height;
                                that.accompany.weight = that.infor.weight;
                                accompanyBlId = NomedicalArray[0].id;
                            }else if((NomedicalArray[0].remark == '1')){
                                return
                            }
                        }else{
                            let firstNoMedical = [];
                            let sixNoMedical = [];

                            Object.keys(NomedicalArray).forEach(key => {
                                if(that.isNull(NomedicalArray[key].remark) == 0){
                                firstNoMedical.push(NomedicalArray[key]);
                            }else if(that.isNull(NomedicalArray[key].remark) == 1){
                                sixNoMedical.push(NomedicalArray[key]);
                            }
                        })
                            if(firstNoMedical.length <= 0){
                                // that.blNoMedicalType = 0;
                                return;
                            }else{
                                // that.blNoMedicalType = 1;
                                accompanyBlId = firstNoMedical[0].id;
                            }
                        }
                        //   for(var i = 0 ; i <NomedicalArray.length; i++) {
                        //     if((NomedicalArray[i].remark == '0') && (that.num == 3)){
                        //       accompanyBlId = NomedicalArray[i].id;
                        //       i = NomedicalArray.length -1;
                        //     }else if((NomedicalArray[i].remark == '1') && (that.num == 4)){
                        //       accompanyBlId = NomedicalArray[i].id;
                        //       i = NomedicalArray.length -1;
                        //     }
                        //   }
                        // }
                        $.ajax({
                            url: "${URL_ACCOMPANY_BLDATA_NO_MEDICAL}",
                            dataType: 'json',
                            data: {
                                // id: id
                                accompanyBlId: accompanyBlId
                            },
                            type: 'post',
                            success: function (res) {
                                if (res.code == 0 && res.data != null) {
                                    that.checkData.id = res.data.id;
                                    that.checkData.accompanyBlId = res.data.accompanyBlId;
                                    that.checkData.idCard = res.data.idCard;
                                    that.checkData.height = that.isNull(res.data.height);
                                    that.checkData.accompanyTime = that.isNull(res.data.accompanyTime);
                                    let newDate = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.checkData.accompanyTime);
                                    $('#queryTime').val(newDate);
                                    that.checkData.surveyer = that.isNull(res.data.surveyer);
                                    that.checkData.surveyerPhone = that.isNull(res.data.surveyerPhone);
                                    that.checkData.dxaDo = that.isNull(res.data.dxaDo);
                                    that.checkData.dxaKnow = that.isNull(res.data.dxaKnow);
                                    that.checkData.dxaDoTime = that.isNull(res.data.dxaDoTime);
                                    that.checkData.dxaCountPerYear = that.isNull(res.data.dxaCountPerYear);
                                    that.checkData.dxaYears = that.isNull(res.data.dxaYears);
                                    that.checkData.weight = that.isNull(res.data.weight);
                                    that.checkData.BMI = that.isNull(res.data.BMI);
                                    that.checkData.heightLess = that.isNull(res.data.heightLess);
                                    that.checkData.heightLessItem = that.isNull(res.data.heightLessItem);
                                    that.checkData.humpback = that.isNull(res.data.humpback);
                                    that.checkData.menopause = that.isNull(res.data.menopause);
                                    that.checkData.gestation = that.isNull(res.data.gestation);
                                    that.checkData.fall = that.isNull(res.data.fall);
                                    that.checkData.smoke = that.isNull(res.data.smoke);
                                    that.checkData.CountPerDay = that.isNull(res.data.CountPerDay);
                                    that.checkData.smokeYear = that.isNull(res.data.smokeYear);
                                    that.checkData.quitSmoking = that.isNull(res.data.quitSmoking);
                                    that.checkData.drink = that.isNull(res.data.drink);
                                    that.checkData.drinkType = that.isNull(res.data.drinkType);
                                    that.checkData.drinkMl = that.isNull(res.data.drinkMl);
                                    that.checkData.drinkYear = that.isNull(res.data.drinkYear);
                                    that.checkData.tea = that.isNull(res.data.tea);
                                    that.checkData.teaType = that.isNull(res.data.teaType);
                                    that.checkData.teaMl = that.isNull(res.data.teaMl);
                                    that.checkData.teaYear = that.isNull(res.data.teaYear);
                                    that.checkData.coffee = that.isNull(res.data.coffee);
                                    that.checkData.coffeeMl = that.isNull(res.data.coffeeMl);
                                    that.checkData.coffeeYear = that.isNull(res.data.coffeeYear);
                                    that.checkData.milk = that.isNull(res.data.milk);
                                    that.checkData.milkType = that.isNull(res.data.milkType);
                                    that.checkData.milkMl = that.isNull(res.data.milkMl);
                                    that.checkData.milkYear = that.isNull(res.data.milkYear);
                                    that.checkData.exercise = that.isNull(res.data.exercise);
                                    that.checkData.exerciseType = that.isNull(res.data.exerciseType);
                                    that.checkData.exerciseMinPerDay = that.isNull(res.data.exerciseMinPerDay);
                                    that.checkData.exerciseYear = that.isNull(res.data.exerciseYear);
                                    that.checkData.dietary = that.isNull(res.data.dietary);
                                    that.checkData.selffractu = that.isNull(res.data.selffractu);
                                    that.checkData.selffractuFirstPlace = that.isNull(res.data.selffractuFirstPlace);
                                    that.checkData.selffractuFirstAge = that.isNull(res.data.selffractuFirstAge);
                                    that.checkData.selffractuFirstReason = that.isNull(res.data.selffractuFirstReason);
                                    that.checkData.selffractuSecondPlace = that.isNull(res.data.selffractuSecondPlace);
                                    that.checkData.selffractuSecondAge = that.isNull(res.data.selffractuSecondAge);
                                    that.checkData.selffractuSecondReason = that.isNull(res.data.selffractuSecondReason);
                                    that.checkData.selffractuThirdPlace = that.isNull(res.data.selffractuThirdPlace);
                                    that.checkData.selffractuThirdAge = that.isNull(res.data.selffractuThirdAge);
                                    that.checkData.selffractuThirdReason = that.isNull(res.data.selffractuThirdReason);
                                    that.checkData.selffractuDesc = that.isNull(res.data.selffractuDesc);
                                    that.checkData.parentOsteoporosis = that.isNull(res.data.parentOsteoporosis);
                                    that.checkData.parentHunchback = that.isNull(res.data.parentHunchback);
                                    that.checkData.parentFracture = that.isNull(res.data.parentFracture);
                                    that.checkData.parentFractureFirstPlace = that.isNull(res.data.parentFractureFirstPlace);
                                    that.checkData.parentFractureFirstAge = that.isNull(res.data.parentFractureFirstAge);
                                    that.checkData.parentFractureFirstReason = that.isNull(res.data.parentFractureFirstReason);
                                    that.checkData.parentFractureSecondPlace = that.isNull(res.data.parentFractureSecondPlace);
                                    that.checkData.parentFractureSecondAge = that.isNull(res.data.parentFractureSecondAge);
                                    that.checkData.parentFractureSecondReason = that.isNull(res.data.parentFractureSecondReason);
                                    that.checkData.parentFractureThirdPlace = that.isNull(res.data.parentFractureThirdPlace);
                                    that.checkData.parentFractureThirdAge = that.isNull(res.data.parentFractureThirdAge);
                                    that.checkData.parentFractureThirdReason = that.isNull(res.data.parentFractureThirdReason);
                                    //新增手术名称
                                    that.checkData.selffractuFirstSurgery = that.isNull(res.data.selffractuFirstSurgery);
                                    that.checkData.followFirstSurgery = that.isNull(res.data.followFirstSurgery);
                                    that.checkData.selffractuSecondSurgery = that.isNull(res.data.selffractuSecondSurgery);
                                    that.checkData.parentFractureFirstSurgery = that.isNull(res.data.parentFractureFirstSurgery);
                                    that.checkData.parentFractureSecondSurgery = that.isNull(res.data.parentFractureSecondSurgery);
                                    //新增手术名称
                                    that.checkData.disease = that.isNull(res.data.disease);
                                    that.checkData.dieaseType = that.isNull(res.data.dieaseType);
                                    that.checkData.diseaseDesc = that.isNull(res.data.diseaseDesc);
                                    that.checkData.medicine = that.isNull(res.data.medicine);
                                    that.checkData.medicineType = that.isNull(res.data.medicineType);
                                    that.checkData.medicineDesc = that.isNull(res.data.medicineDesc);
                                    that.checkData.operation = that.isNull(res.data.operation);
                                    that.checkData.operationType = that.isNull(res.data.operationType);
                                    that.checkData.blMedicine = that.isNull(res.data.blMedicine);
                                    that.checkData.blMedicineTime = that.isNull(res.data.blMedicineTime);
                                    that.checkData.blMedicineType = that.isNull(res.data.blMedicineType);
                                    that.checkData.painScore = that.isNull(res.data.painScore);
                                    that.checkData.painPlace = that.isNull(res.data.painPlace);
                                    that.checkData.standWalkTest = that.isNull(res.data.standWalkTest);
                                    that.checkData.tugTime = that.isNull(res.data.tugTime);
                                    that.checkData.tlXCheck = that.isNull(res.data.tlXCheck);
                                    that.checkData.centrumSelffractu = that.isNull(res.data.centrumSelffractu);
                                    that.checkData.walkAction = that.isNull(res.data.walkAction);
                                    that.checkData.selfCare = that.isNull(res.data.selfCare);
                                    that.checkData.dailyAction = that.isNull(res.data.dailyAction);
                                    that.checkData.painType = that.isNull(res.data.painType);
                                    that.checkData.anxiety = that.isNull(res.data.anxiety);
                                    that.checkData.healthScore = that.isNull(res.data.healthScore);
                                    that.checkData.smokeCountPerDay = that.isNull(res.data.smokeCountPerDay);
                                    that.checkData.sun = that.isNull(res.data.sun);
                                    that.checkData.operationYear = that.isNull(res.data.operationYear);
                                    that.checkData.operationPart = that.isNull(res.data.operationPart);
                                    that.showMoreCheck(that.dieaseType, that.checkData.dieaseType);
                                    that.showMoreCheck(that.medicineType, that.checkData.medicineType);
                                    that.showMoreCheck(that.blMedicineType, that.checkData.blMedicineType);

                                    that.checkData.blMedicineDose = that.isNull(res.data.blMedicineDose);
                                    that.checkData.blMedicineYear = that.isNull(res.data.blMedicineYear);
                                    let arrDose = [];
                                    arrYear = [];
                                    arrDose = that.checkData.blMedicineDose.split(',');
                                    arrYear = that.checkData.blMedicineYear.split(',');

                                    Object.keys(that.medicineYear).forEach(key => {
                                        that.medicineYear[key].blMedicineYear = arrYear[key];
                                    that.medicineYear[key].blMedicineDose = arrDose[key];
                                })
                                }
                            }
                        })
                    }
                })
            },
            getAccompanyData(){
                let that = this;
                $.ajax({
                    url: '${URL_ACCOMPANY_BLLIST}?idCard='+ this.idCard,
                    contentType: 'application/json;charset=utf-8',
                    type: 'post',
                    success: function (data) {
                        var data = JSON.parse(data); //可以将json字符串转换成json对象
                        var accompanyBlId = '';
                        var NomedicalArray = [];
                        var dataList = data.dataList;
                        NomedicalArray = dataList.filter(function(item){
                            if(item.hasMedical == '0'){
                                return item;
                            }
                        });
                        if(NomedicalArray.length <= 0){
                            that.checkData.height = that.infor.height;
                            that.checkData.weight = that.infor.weight;
                            that.accompany.height = that.infor.height;
                            that.accompany.weight = that.infor.weight;
                            return
                        }else if(NomedicalArray.length == 1){
                            if((NomedicalArray[0].remark == '0')){
                                that.blNoMedicalType = 0;
                            }else{
                                that.blNoMedicalType = 1;
                            }
                            that.accompany.height = that.infor.height;
                            that.accompany.weight = that.infor.weight;
                            accompanyBlId = NomedicalArray[0].id;
                        }else{
                            let firstNoMedical = [];
                            let sixNoMedical = [];

                            Object.keys(NomedicalArray).forEach(key => {

                                if(that.isNull(NomedicalArray[key].remark) == 0){
                                firstNoMedical.push(NomedicalArray[key]);
                            }else if(that.isNull(NomedicalArray[key].remark) == 1){
                                sixNoMedical.push(NomedicalArray[key]);
                            }
                        })
                            console.log('-----------------------------------------')
                            console.log(firstNoMedical);
                            console.log(sixNoMedical);
                            console.log('-----------------------------------------')
                            if(sixNoMedical.length <= 0){
                                that.blNoMedicalType = 0;
                                accompanyBlId = firstNoMedical[0].id;
                            }else{
                                that.blNoMedicalType = 1;
                                accompanyBlId = sixNoMedical[0].id;
                            }
                        }
                        $.ajax({
                            url: "${URL_ACCOMPANY_BLDATA_NO_MEDICAL}",
                            dataType: 'json',
                            data: {
                                accompanyBlId: accompanyBlId
                            },
                            type: 'post',
                            success: function (res) {
                                if(res.code == 0 && res.data != null){
                                    if(that.blNoMedicalType == 0){
                                        that.accompany.smoke = res.data.smoke;
                                        that.accompany.smokeYear = res.data.smokeYear;
                                        that.accompany.quitSmoking = res.data.quitSmoking;
                                        that.accompany.drink = res.data.drink;
                                        that.accompany.drinkType = res.data.drinkType;
                                        that.accompany.drinkMl = res.data.drinkMl;
                                        that.accompany.drinkYear = res.data.drinkYear;
                                        that.accompany.tea = res.data.tea;
                                        that.accompany.teaType = res.data.teaType;
                                        that.accompany.coffee = res.data.coffee;
                                        that.accompany.coffeeMl = res.data.coffeeMl;
                                        that.accompany.coffeeYear = res.data.coffeeYear;
                                        that.accompany.milk = res.data.milk;
                                        that.accompany.milkType = res.data.milkType;
                                        that.accompany.milkYear = res.data.milkYear;
                                        that.accompany.dietary = res.data.dietary;
                                        that.accompany.sunbathe = res.data.sunbathe;
                                        that.accompany.exercise = res.data.exercise;
                                        that.accompany.exerciseType = res.data.exerciseType;
                                        that.accompany.exerciseMinPerDay = res.data.exerciseMinPerDay;
                                        that.accompany.exerciseYear = res.data.exerciseYear;
                                        that.accompany.walkAction = res.data.walkAction;
                                        that.accompany.selfCare = res.data.selfCare;
                                        that.accompany.dailyAction = res.data.dailyAction;
                                        that.accompany.painType = res.data.painType;
                                        that.accompany.anxiety = res.data.anxiety;
                                        that.accompany.healthScore = res.data.healthScore;
                                        that.accompany.followFirstSurgery = res.data.followFirstSurgery;

                                        console.log(that.accompany);
                                    }else{
                                        that.blNoMedicalType = 1;
                                        let {id,accompanyTime,surveyer,surveyerPhone,height,weight,heightLessItem,heightLess,humpback,fall,smoke,smokeCountPerDay,smokeYear,quitSmoking, drink,drinkType,drinkMl,drinkYear,tea,teaType,coffee,coffeeMl,coffeeYear, milk,milkType,milkMl,milkYear,dietary,sunbathe,exercise,exerciseType,exerciseMinPerDay, exerciseYear,dxaDo,clinic,takemed,blMedicineYear,blMedicineDose,selffractuFirstPlace,selffractuFirstAge,selffractuFirstReason, selffractu,disease, dieaseType,medicineType,medicineDesc,operation,operationType,operationPart,operationOther,operationYear,blMedicine,blMedicineTime,blMedicineType, painScore,painPlace,tlXCheck,centrumSelffractu,walkAction,selfCare,dailyAction,painType,anxiety,healthScore,followFirstSurgery} = res.data;

                                        that.accompany = {id,accompanyTime,surveyer,surveyerPhone,height,weight,heightLessItem,heightLess,humpback,fall,smoke,smokeCountPerDay,smokeYear,quitSmoking, drink,drinkType,drinkMl,drinkYear,tea,teaType,coffee,coffeeMl,coffeeYear, milk,milkType,milkMl,milkYear,dietary,sunbathe,exercise,exerciseType,exerciseMinPerDay, exerciseYear,dxaDo,clinic,takemed,blMedicineYear,blMedicineDose,selffractuFirstPlace,selffractuFirstAge,selffractuFirstReason, selffractu,disease, dieaseType,medicineType,medicineDesc,operation, operationType,operationPart,operationOther,blMedicine,blMedicineTime,blMedicineType, painScore,painPlace,tlXCheck,centrumSelffractu,walkAction,selfCare,dailyAction,painType,anxiety,healthScore,followFirstSurgery};

                                        let newDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(that.accompany.accompanyTime);
                                        that.accompany.accompanyTime = newDate;
                                        $('#accompanyDate').val(newDate);
                                        that.showMoreCheck(that.dieaseType,that.accompany.dieaseType);
                                        that.showMoreCheck(that.medicineType,that.accompany.medicineType);
                                        that.showMoreCheck(that.blMedicineType,that.accompany.blMedicineType);

                                        that.checkData.blMedicineDose = that.isNull(res.data.blMedicineDose);
                                        that.checkData.blMedicineYear = that.isNull(res.data.blMedicineYear);
                                        let arrDose = [];
                                        arrYear = [];
                                        arrDose = that.checkData.blMedicineDose.split(',');
                                        arrYear = that.checkData.blMedicineYear.split(',');

                                        Object.keys(that.medicineYear).forEach(key => {
                                            that.medicineYear[key].blMedicineYear = arrYear[key];
                                        that.medicineYear[key].blMedicineDose = arrDose[key];
                                    })
                                    }

                                    // 测试bb
                                }else if(res.code == 0 && res.data == null){

                                }
                            }
                        })
                    }
                })
            },
            getMedicalService(){
                let that =this;
                $.ajax({
                    url: "${URL_ACCOMPANY_MEDICALSERVICE}",
                    type: 'post',
                    dataType: "json",
                    data: {
                        idCard: that.infor.idcard
                    },
                    success: function (data) {
                        if (data.dataList[0] != '' && data.dataList[0] != undefined) {
                            that.medicalService.drug = that.isNull(data.dataList[0].drug);
                            that.medicalService.idCard = data.dataList[0].idCard;
                            that.medicalService.id = data.dataList[0].id;
                            that.medicalService.dosage = data.dataList[0].dosage;
                            that.medicalService.examination = data.dataList[0].examination;
                            that.medicalService.resultmr = data.dataList[0].resultmr;
                            that.medicalService.resultct = data.dataList[0].resultct;
                            that.medicalService.resultx = data.dataList[0].resultx;
                            that.medicalService.totalHipt = data.dataList[0].totalHipt;
                            that.medicalService.totalHipb = data.dataList[0].totalHipb;
                            that.medicalService.neckt = data.dataList[0].neckt;
                            that.medicalService.neckb = data.dataList[0].neckb;
                            that.medicalService.numthreefourt = data.dataList[0].numthreefourt;
                            that.medicalService.numthreefourb = data.dataList[0].numthreefourb;

                            that.medicalService.inspectionDate = that.isNull(data.dataList[0].inspectionDate);
                            let newDate = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.inspectionDate);
                            $('#inspectionDate').val(newDate);


                            that.medicalService.bginspectionDate = that.isNull(data.dataList[0].bginspectionDate);
                            let newDate1 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.bginspectionDate);
                            $('#bginspectionDate').val(newDate1);

                            that.medicalService.xinspectionDate = that.isNull(data.dataList[0].xinspectionDate);
                            let newDate2 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.xinspectionDate);
                            $('#xinspectionDate').val(newDate2);

                            that.medicalService.mrinspectionDate = that.isNull(data.dataList[0].mrinspectionDate);
                            let newDate3 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.mrinspectionDate);
                            $('#mrinspectionDate').val(newDate3);

                            that.medicalService.ctinspectionDate = that.isNull(data.dataList[0].ctinspectionDate);
                            let newDate4 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.ctinspectionDate);
                            $('#ctinspectionDate').val(newDate4);

                            that.medicalService.ysinspectionDate = that.isNull(data.dataList[0].ysinspectionDate);
                            let newDate5 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.ysinspectionDate);
                            $('#ysinspectionDate').val(newDate5);

                            that.medicalService.naxtFollowDate = that.isNull(data.dataList[0].naxtFollowDate);
                            let newDate6 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.naxtFollowDate);
                            $('#naxtFollowDate').val(newDate6);

                            that.medicalService.followDate = that.isNull(data.dataList[0].followDate);
                            let newDate7 = /\d{4}-\d{1,2}-\d{1,2}/g.exec(that.medicalService.followDate);
                            $('#followDate').val(newDate7);
                            that.medicalService.chiefComplaint = data.dataList[0].chiefComplaint;
                            that.medicalService.explanations = data.dataList[0].explanations;
                            that.medicalService.physical = data.dataList[0].physical;
                            that.medicalService.classification = data.dataList[0].classification;
                            that.medicalService.diagnosis = data.dataList[0].diagnosis;




                            that.medicalService.balpMedicine = data.dataList[0].balpMedicine;
                            that.medicalService.ocMedicine = data.dataList[0].ocMedicine;
                            that.medicalService.pnpMedicine = data.dataList[0].pnpMedicine;
                            that.medicalService.ctxMedicine = data.dataList[0].ctxMedicine;
                            that.medicalService.wssdMedicine = data.dataList[0].wssdMedicine;
                            that.medicalService.pthMedicine = data.dataList[0].pthMedicine;
                            that.medicalService.calcium = data.dataList[0].calcium;
                            that.medicalService.phosphorus = data.dataList[0].phosphorus;
                            that.medicalService.routineBloodTest = data.dataList[0].routineBloodTest;
                            that.medicalService.whiteBloodCell = data.dataList[0].whiteBloodCell;
                            that.medicalService.redBloodCell = data.dataList[0].redBloodCell;
                            that.medicalService.hemoglobin = data.dataList[0].hemoglobin;
                            that.medicalService.platelet = data.dataList[0].platelet;
                            that.medicalService.urinalysis = data.dataList[0].urinalysis;
                            that.medicalService.urineProtein = data.dataList[0].urineProtein;
                            that.medicalService.bld = data.dataList[0].bld;
                            that.medicalService.urineSugar = data.dataList[0].urineSugar;
                            that.medicalService.esr = data.dataList[0].esr;
                            that.medicalService.biochemistry = data.dataList[0].biochemistry;
                            that.medicalService.totalProtein = data.dataList[0].totalProtein;
                            that.medicalService.albumin = data.dataList[0].albumin;
                            that.medicalService.globulin = data.dataList[0].globulin;
                            that.medicalService.totalBilirubin = data.dataList[0].totalBilirubin;
                            that.medicalService.alanine = data.dataList[0].alanine;
                            that.medicalService.aspartate = data.dataList[0].aspartate;
                            that.medicalService.alkaline = data.dataList[0].alkaline;
                            that.medicalService.creatinine = data.dataList[0].creatinine;
                            that.medicalService.thyroidFunction = data.dataList[0].thyroidFunction;
                            that.medicalService.tshThyroid = data.dataList[0].tshThyroid;
                            that.medicalService.tt3Thyroid = data.dataList[0].tt3Thyroid;
                            that.medicalService.tt4Thyroid = data.dataList[0].tt4Thyroid;
                            that.medicalService.ft3Thyroid = data.dataList[0].ft3Thyroid;
                            that.medicalService.ft4Thyroid = data.dataList[0].ft4Thyroid;
                            that.medicalService.femaleTumor = data.dataList[0].femaleTumor;
                            that.medicalService.femaleFetoprotein = data.dataList[0].femaleFetoprotein;
                            that.medicalService.femaleCarcinoembryonic = data.dataList[0].femaleCarcinoembryonic;
                            that.medicalService.ferritin = data.dataList[0].ferritin;
                            that.medicalService.carbohydrate = data.dataList[0].carbohydrate;
                            that.medicalService.femaleCarbohydrate = data.dataList[0].femaleCarbohydrate;
                            that.medicalService.femaleSupplement = data.dataList[0].femaleSupplement;
                            that.medicalService.maleTumor = data.dataList[0].maleTumor;
                            that.medicalService.maleFetoprotein = data.dataList[0].maleFetoprotein;
                            that.medicalService.maleCarcinoembryonic = data.dataList[0].maleCarcinoembryonic;
                            that.medicalService.maleCarbohydrate = data.dataList[0].maleCarbohydrate;
                            that.medicalService.prostate = data.dataList[0].prostate;
                            that.medicalService.malesCarbohydrate = data.dataList[0].malesCarbohydrate;
                            that.medicalService.maleSupplement = data.dataList[0].maleSupplement;
                            that.medicalService.maleProstate = data.dataList[0].maleProstate;
                            that.medicalService.maleFtprostate = data.dataList[0].maleFtprostate;
                            that.medicalService.malesSupplement = data.dataList[0].malesSupplement;
                            that.medicalService.immunological = data.dataList[0].immunological;
                            that.medicalService.c3Complement = data.dataList[0].c3Complement;
                            that.medicalService.c4Complement = data.dataList[0].c4Complement;
                            that.medicalService.igaImmunoglobulin = data.dataList[0].igaImmunoglobulin;
                            that.medicalService.iggImmunoglobulin = data.dataList[0].iggImmunoglobulin;
                            that.medicalService.igmImmunoglobulin = data.dataList[0].igmImmunoglobulin;
                            that.medicalService.igeImmunoglobulin = data.dataList[0].igeImmunoglobulin;
                            that.medicalService.urineChaink = data.dataList[0].urineChaink;
                            that.medicalService.urineChain = data.dataList[0].urineChain;
                            that.medicalService.bloodChain = data.dataList[0].bloodChain;
                            that.medicalService.bloodChaink = data.dataList[0].bloodChaink;
                            that.medicalService.lumbarSpineOneb = data.dataList[0].lumbarSpineOneb;
                            that.medicalService.lumbarSpineOnet = data.dataList[0].lumbarSpineOnet;
                            that.medicalService.lumbarSpineTwob = data.dataList[0].lumbarSpineTwob;
                            that.medicalService.lumbarSpineTwot = data.dataList[0].lumbarSpineTwot;
                            that.medicalService.lumbarSpineThreeb = data.dataList[0].lumbarSpineThreeb;
                            that.medicalService.lumbarSpineThreet = data.dataList[0].lumbarSpineThreet;
                            that.medicalService.lumbarSpineFourb = data.dataList[0].lumbarSpineFourb;
                            that.medicalService.lumbarSpineFourt = data.dataList[0].lumbarSpineFourt;
                            that.medicalService.numonetwob = data.dataList[0].numonetwob;
                            that.medicalService.numonetwot = data.dataList[0].numonetwot;
                            that.medicalService.numonethreeb = data.dataList[0].numonethreeb;
                            that.medicalService.numonethreet = data.dataList[0].numonethreet;
                            that.medicalService.numonefourb = data.dataList[0].numonefourb;
                            that.medicalService.numonefourt = data.dataList[0].numonefourt;
                            that.medicalService.numtwothreeb = data.dataList[0].numtwothreeb;
                            that.medicalService.numtwothreet = data.dataList[0].numtwothreet;
                            that.medicalService.numtwofourb = data.dataList[0].numtwofourb;
                            that.medicalService.numtwofourt = data.dataList[0].numtwofourt;

                            /*that.medicalService.nextInspection = ;*/
                            /*if (data.dataList[0].nextInspection != ''){
                                datas = data.dataList[0].nextInspection.split(',');
                                console.log(datas)
                                for( var i = 0; i < datas.length; i++ ){
                                    console.log(datas[i])
                                    that.medicalService.nextInspection = that.getSelectArray(that.medicalService.nextInspection,datas[i]);
                                }
                            }*/
                            that.showMoreCheck(that.nextInspection,data.dataList[0].nextInspection);

                            that.medicalService.nextInspection = that.isNull(data.dataList[0].nextInspection);
                            let arrDose = [];
                            arrDose = that.medicalService.nextInspection.split(',');

                            Object.keys(that.nextInspection).forEach(key => {
                                that.medicalService.nextInspection[key] = arrDose[key];
                        })




                            /*
                                                        that.checkData.blMedicineDose = that.isNull(res.data.blMedicineDose);
                                                        that.checkData.blMedicineYear = that.isNull(res.data.blMedicineYear);
                                                        let arrDose = [];
                                                        arrYear = [];
                                                        arrDose = that.checkData.blMedicineDose.split(',');
                                                        arrYear = that.checkData.blMedicineYear.split(',');

                                                        Object.keys(that.medicineYear).forEach(key => {
                                                            that.medicineYear[key].blMedicineYear = arrYear[key];
                                                            that.medicineYear[key].blMedicineDose = arrDose[key];
                                                        })*/


                        } else {

                        }
                    }
                })
            },
            toMoreTest: function () {
                let that = this;
                // 更多检验项目
                $.ajax({
                    url: "${URL_SCREENING_GETBREADLINE}",
                    dataType: 'json',
                    type: 'post',
                    success: function (data) {
                        breadLine = JSON.parse(data.data)
                        var url = '${URL_TESTPROJECT_TOMORETEST}?idCard=' + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type
                        breadLine.push({
                            name: '检验项目',
                            href: url
                        })
                        $.ajax({
                            url: '${URL_SCREENING_SAVEBREADLINE}',
                            data: {
                                breadLine: JSON.stringify(breadLine)
                            },
                            dataType: 'json',
                            type: 'post',
                            success: function (data) {
                                parent.showSrc('${URL_TESTPROJECT_TOMORETEST}?idCard=' + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type)
                            }
                        })
                    }
                })
            },
            toAddCheck: function () {
                let that = this;
                // 弹窗 添加
                <%--window.parent.showNewModelIframe("${ctx}/pppatientbase/new/update?id=" + that.infor.id + '&diseasesType=' + type + '&type=' + that.Type, 800, 650);--%>
                window.parent.showNewModelIframe('${ctx}/testProject/qianhu/toAddTest?idCard=' + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type, 800, 450);
            },
            toMoreCheck: function () {
                let that = this;
                // 更多检验项目
                $.ajax({
                    url: "${URL_SCREENING_GETBREADLINE}",
                    dataType: 'json',
                    type: 'post',
                    success: function (data) {
                        breadLine = JSON.parse(data.data)
                        var url = '${URL_TESTPROJECT_TOMORECHECK}?idCard=' + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type
                        breadLine.push({
                            name: '检查项目',
                            href: url
                        })
                        $.ajax({
                            url: '${URL_SCREENING_SAVEBREADLINE}',
                            data: {
                                breadLine: JSON.stringify(breadLine)
                            },
                            dataType: 'json',
                            type: 'post',
                            success: function (data) {
                                parent.showSrc('${URL_TESTPROJECT_TOMORECHECK}?idCard=' + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type)
                            }
                        })
                    }
                })
            },
            toAddTest: function () {
                let that = this;
                // 弹窗 添加
                window.parent.showNewModelIframe('${URL_TESTPROJECT_TOADDCHECK}?idCard=' + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type, 680, 450);
            },
            getUrlParam(name) {
                var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                var r = window.location.search.substr(1).match(reg);
                if (r != null) return unescape(r[2]);
                return null;
            },
            initTable() {
                let that = this;
                table = $('#example').DataTable({
                    "dom": "<'row'<'col-xs-2'l><'#mytool.col-xs-10'><'col-xs-6'f>r>" +
                        "t" +
                        "<'row'<''i><col-xs-6'p>>",
                    "bFilter": false,//去掉搜索框
                    "bAutoWidth": true, //自适应宽度
                    "bPaginate": true, //翻页功能
                    "bSort": true, //排序功能
                    "bAutoWidth": true,//自动宽度
                    "info": false,
                    "searching" : false, //去掉搜索框方法一
                    'lengthChange' : false,
                    "oPaginate":false,
                    "bServerSide" : true,
                    "lengthMenu": [10],
                    "sAjaxSource":that.infor.idcard,
                    "sAjaxDataProp": "list",//查询后，返回的集合
                    "fnServerData": function ( sSource, aoData, fnCallback ) {  //查询条件
                        aoData.push(
                            {
                                "name": "medicalName",
                                "value": $('#calendar1').val()
                            },
                            {
                                "name": "startTime",
                                "value": $('#beginDate').val()
                            },
                            {
                                "name": "endTime",
                                "value": $('#endTime').val()
                            }
                        ),
                            $.ajax( {
                                "dataType": 'json',
                                "url": sSource,
                                "type":'post',
                                "data": aoData,
                                "success": function(resp){
                                    if( ListNum == 0 ){
                                        bb = 1
                                    }
                                    var arr3 = []
                                    for ( var a = 0; a < resp.data.iTotalDisplayRecords; a++ ){
                                        arr3.push(a+1)
                                    }
                                    var arr1 = arr3.slice((bb-1)*10,bb*10);
                                    for( var a = 0 ; a < arr1.length; a++ ){
                                        resp.data.list[a].oldNumber = arr1[a]
                                    }
                                    fnCallback(resp.data)
                                    var alis = $('.pagination li')
                                    var lisa = alis.slice(1,alis.length-1)
                                    for( var a = 0; a < lisa.length; a++ ){
                                        $(lisa[a]).on('click',function(){
                                            bb = $(this).find('a').text()
                                        })
                                    }
                                    $(alis[0]).on('click',function(){
                                        if( bb != 0 ){
                                            bb --;
                                        }
                                    })
                                    $(alis[alis.length-1]).on('click',function(){
                                        if( bb < lisa.length ){
                                            bb++;
                                        }
                                    })
                                    ListNum++;
                                }
                            } );
                    },
                    "aoColumns" : [{
                        "targets": 0,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            $(nTd).html('<input class="all_id" type="checkbox">'+'<span style="display:none;">'+ oData.type +'</span>')
                        }

                    },{
                        "targets": 1,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            $(nTd).text(oData.oldNumber)
                            $(nTd).attr('title',oData.id)
                        }
                    },{
                        "targets": 2,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            $(nTd).html('<span style="display:none">'+oData.id+'</span>')
                        }
                    },{
                        "targets": 3,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            $(nTd).text(oData.medicalName)
                            $(nTd).attr('title',oData.medicalId)
                        }
                    },{
                        "mDataProp" : "numbers"
                    },{
                        "mDataProp" : "medicalSpecs"
                    },{
                        "mDataProp" : "medicalFrequency"
                    },{
                        "targets": 7,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            var doctor;
                            if( oData.useType == 0 ){
                                doctor = `<span title="0">其他</span>`
                            }else if( oData.useType == 1 ){
                                doctor = `<span title="1">停药</span>`
                            }else if( oData.useType == 2 ){
                                doctor = `<span title="2">调整剂量</span>`
                            }else if( oData.useType == 3 ){
                                doctor = `<span title="3">新增药物</span>`
                            }else{
                                doctor = '<span title=""></span>'
                            }
                            $(nTd).html(doctor)
                        }
                    },{
                        "targets": 8,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            var doctor;
                            if( oData.doctorName == null ){
                                doctor = ""
                            }else{
                                doctor = oData.doctorName
                            }
                            $(nTd).text(doctor)
                        }
                    },{
                        "targets": 9,
                        "data": null,
                        "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
                            if( oData.recordTime != null ){
                                oData.recordTime = oData.recordTime.slice(0,10)
                            }else{
                                oData.recordTime = ''
                            }
                            $(nTd).text(oData.recordTime)
                        }
                    }],
                    "oLanguage": {//插件的汉化
                        "sLengthMenu": "32",
                        "sZeroRecords" : "抱歉， 没有找到",
                        "sInfoEmpty" : "没有数据",
                        "sInfoFiltered" : "(从 _MAX_ 条数据中检索)",
                        "oPaginate" : {
                            "sFirst" : "",
                            "sPrevious" : "<b>上一页<b>",
                            "sLast" : "",
                            "sNext" : "<i>下一页</i>"

                        },
                        "sZeroRecords" : "没有检索到数据",
                        "sProcessing" : "<img src='' />",
                        "sSearch" : "搜索"
                    }
                } );
            },
            getInitData(){
                //    初始化获取用户数据
                let that =this;
                $.ajax({
                    url:'${URL_SCREENING_BLLIST}?idCard='+this.idCard,
                    dataType:'json',
                    type:'post',
                    success:function(data){
                        if(data.dataList && data.dataList.length > 0){
                            that.blData = data.dataList[0];
                            that.riskId = that.blData.id;
                            that.blData.screeningTime = that.isNull(that.blData.screeningTime);
                            $('#screeningTime').val(that.blData.screeningTime);
                            that.blData.humpback = that.isNull(that.blData.humpback);
                            that.blData.menstruation = that.isNull(that.blData.menstruation);
                            that.blData.estrogen = that.isNull(that.blData.estrogen);
                            that.blData.androgen = that.isNull(that.blData.androgen);
                            that.blData.sport = that.isNull(that.blData.sport);
                            that.blData.checkResult = that.isNull(that.blData.checkResult);
                            that.blData.diagnosis = that.isNull(that.blData.diagnosis);
                            that.blData.diagnosisMsg = that.isNull(that.blData.diagnosisMsg);
                            that.blData.hadBl = that.isNull(that.blData.hadBl);
                            that.blData.ageForty = that.isNull(that.blData.ageForty);
                            that.blData.fallFracture = that.isNull(that.blData.fallFracture);
                            that.blData.oftenFall = that.isNull(that.blData.oftenFall);
                            that.blData.reduceHeight = that.isNull(that.blData.reduceHeight);
                            that.blData.lowWeight = that.isNull(that.blData.lowWeight);
                            that.blData.medicineThreeMonth = that.isNull(that.blData.medicineThreeMonth);
                            that.blData.arthritis = that.isNull(that.blData.arthritis);
                            that.blData.thyroid = that.isNull(that.blData.thyroid);
                            that.blData.menstruationAgo = that.isNull(that.blData.menstruationAgo);
                            that.blData.androgen = that.isNull(that.blData.androgen);
                            that.blData.drinkWine = that.isNull(that.blData.drinkWine);
                            that.blData.smoke = that.isNull(that.blData.smoke);
                            that.blData.sportLess = that.isNull(that.blData.sportLess);
                            that.blData.notCalcium = that.isNull(that.blData.notCalcium);
                        }else{
                            var timeDefault = that.getNowFormatDate();
                            $('#screeningTime').val(timeDefault);
                            that.getOstaData();
                        }

                    }
                })
            },
            getOstaData(){
                let that = this;
                //    获取osta数据
                $.ajax({
                    url:'${URL_BLONELOOSE_GETOSTA}',
                    data:{
                        idCard:that.idCard
                    },
                    type:'get',
                    dataType:'json',
                    success:function(data){
                        if( data.success ){
                            that.blData.osta = data.data.osta;
                            that.blData.riskLevel = data.data.riskLevel;
                        }
                    }
                })
            },

            // 获取病人基本信息
            getpersonalInfo(){
                let that = this;
                $.ajax({
                    url: "${URL_PATIENT_PATIENTINFO}",
                    type: 'post',
                    dataType: "json",
                    data: {
                        idCard: that.idCard
                    },
                    success: function (data) {
                        that.infor = data.data;
                        that.infor.diseasesType = data.data.diseaseName;
                        that.id = that.infor.id;
                    }
                })
            },
            //修改病人基本信息
            addDevice: function () {
                let that = this;
                window.parent.showNewModelIframe("${ctx}/pppatientbase/qianhu/toUpdatePatient?id=" + that.infor.id + '&diseasesType=' + that.type, 800, 650);
                <%--window.parent.showNewModelIframe("${URL_PATIENT_PATIENT}?id=" + that.infor.id + '&diseasesType=' + that.type, 800, 650);--%>
            },
            //修改病人身份证号码
            undateIdCard: function (){
                let that = this;
                window.parent.showNewModelIframe("${ctx}/pppatientbase/update/idCard?idcard=" + that.infor.idcard, 600, 300);
            },
            closeFrame() {
                that.medical = false;
            },
            isNull(data){
                if( data == null ){
                    data = ''
                }
                return data
            },
            getNowFormatDate() {
                var date = new Date();
                var seperator1 = "-";
                var year = date.getFullYear();
                var month = date.getMonth() + 1;
                var strDate = date.getDate();
                if (month >= 1 && month <= 9) {
                    month = "0" + month;
                }
                if (strDate >= 0 && strDate <= 9) {
                    strDate = "0" + strDate;
                }
                var currentdate = year + seperator1 + month + seperator1 + strDate;
                return currentdate;
            },
            saveFirstQuery() {
                let that = this;
                that.saveDisabled = true;
                that.checkData.dieaseType = that.checkData.dieaseType.toString();
                that.checkData.medicineType = that.checkData.medicineType.toString();
                that.checkData.blMedicineType = that.checkData.blMedicineType.toString();
                that.accompany.dieaseType = that.accompany.dieaseType.toString();
                that.accompany.medicineType = that.accompany.medicineType.toString();
                that.accompany.blMedicineType = that.accompany.blMedicineType.toString();
                // blMedicineType
                let WanSalary1 = [];
                let WanSalary2 = [];
                Object.keys(that.medicineYear).forEach(key => {
                    let item = '';item1 = '';
                if(that.isNull(that.medicineYear[key].blMedicineYear) == '' || that.medicineYear[key].blMedicineYear == undefined ){
                    item = '';
                }else{
                    item = that.medicineYear[key].blMedicineYear;
                }
                if(that.medicineYear[key].blMedicineDose == ''|| that.medicineYear[key].blMedicineDose == undefined){
                    item1 = '';
                }else{
                    item1 = that.medicineYear[key].blMedicineDose;
                }
                // let item1 = that.medicineYear[key].blMedicineDose;
                WanSalary1.push(item);
                WanSalary2.push(item1);
            })

                if(WanSalary1.length > 0){
                    that.checkData.blMedicineYear = WanSalary1.toString();
                }else{
                    that.checkData.blMedicineYear = '';
                }
                if(WanSalary2.length > 0){
                    that.checkData.blMedicineDose = WanSalary2.toString();
                }else{
                    that.checkData.blMedicineDose = '';
                }


                var params = '';
                if(that.num == 3){
                    that.blNoMedicalType = 0;
                    that.checkData.blNoMedicalType = 0;
                    that.checkData.accompanyTime = $('#queryTime').val();
                    if($('#queryTime').val() == '') {
                        alert('随访日期不能为空！！');
                        return;
                    }else {
                        params = JSON.stringify(that.checkData);
                    }
                }else if(that.num == 4){
                    if(WanSalary1.length > 0){
                        that.accompany.blMedicineYear = WanSalary1.toString();
                    }else{
                        that.accompany.blMedicineYear = '';
                    }
                    if(WanSalary2.length > 0){
                        that.accompany.blMedicineDose = WanSalary2.toString();
                    }else{
                        that.accompany.blMedicineDose = '';
                    }
                    that.blNoMedicalType = 1;
                    that.accompany.blNoMedicalType = 1;
                    that.accompany.accompanyTime = $('#accompanyDate').val();
                    if($('#accompanyDate').val() == '') {
                        alert('随访日期不能为空！！');
                        return;
                    }else {
                        params = JSON.stringify(that.accompany);
                    }
                }else{
                    return;
                }

                $.ajax({
                    url: '${URL_ACCOMPANY_SAVEBL_NO_MEDICAL}',
                    contentType: 'application/json;charset=utf-8',
                    data: params,
                    dataType: 'json',
                    type: 'post',
                    success:function(data){
                        // console.debug('save return result: ' + JSON.stringify(data));
                        console.log(data);
                        $.ajax({
                            url: "${URL_SCREENING_GETBREADLINE}",
                            dataType: 'json',
                            type: 'post',
                            success: function (data) {
                                var urlLib = '';
                                urlLib = JSON.parse(data.data).slice(0, urlLib.length-1)
                                $.ajax({
                                    url: '${URL_SCREENING_SAVEBREADLINE}',
                                    data: {
                                        breadLine: JSON.stringify(urlLib)
                                    },
                                    dataType: 'json',
                                    type: 'post',
                                    success: function (data) {
                                        alert('保存成功')
                                        // console.log(data);
                                        // parent.showSrc(urlLib[urlLib.length - 1].href);
                                        //刷新当前页面
                                        window.parent.$('body,html').animate({scrollTop:0},1);
                                    }
                                })
                            }
                        })
                    }
                })

            },
            saveMedicalCare() {
                let that = this;
                that.medicalService.idCard = that.checkData.idCard.toString();

                that.medicalService.inspectionDate = $('#inspectionDate').val();
                that.medicalService.bginspectionDate = $('#bginspectionDate').val();
                that.medicalService.xinspectionDate = $('#xinspectionDate').val();
                that.medicalService.mrinspectionDate = $('#mrinspectionDate').val();
                that.medicalService.ctinspectionDate = $('#ctinspectionDate').val();
                that.medicalService.ysinspectionDate = $('#ysinspectionDate').val();
                that.medicalService.naxtFollowDate = $('#naxtFollowDate').val();
                that.medicalService.followDate = $('#followDate').val();
                that.medicalService.nextInspection = that.medicalService.nextInspection.toString();
                if($('#inspectionDate').val() == '') {
                    alert('检查日期不能为空！！');
                    return;
                }else {
                    params = JSON.stringify(that.medicalService);
                }

                $.ajax({
                    url: '${URL_ACCOMPANY_SAVE_MEDICALSERVICE}',
                    contentType: 'application/json;charset=utf-8',
                    data: params,
                    dataType: 'json',
                    type: 'post',
                    success:function(data){
                        // console.debug('save return result: ' + JSON.stringify(data));
                        $.ajax({
                            url: "${URL_SCREENING_GETBREADLINE}",
                            dataType: 'json',
                            type: 'post',
                            success: function (data) {
                                var urlLib = '';
                                urlLib = JSON.parse(data.data).slice(0, urlLib.length-1)
                                $.ajax({
                                    url: '${URL_SCREENING_SAVEBREADLINE}',
                                    data: {
                                        breadLine: JSON.stringify(urlLib)
                                    },
                                    dataType: 'json',
                                    type: 'post',
                                    success: function (data) {
                                        alert('保存成功')
                                        // console.log(data);
                                        // parent.showSrc(urlLib[urlLib.length - 1].href);
                                        //刷新当前页面
                                        window.parent.$('body,html').animate({scrollTop:0},1);
                                    }
                                })
                            }
                        })
                    }
                })

            },
            dangerFilter(){
                let that = this;
                // $('#keep').attr('disabled','disabled')
                $.ajax({
                    url:'${URL_SCREENING_SAVEBL}',
                    data:{
                        id:that.riskId,
                        idCard:that.idCard,
                        screeningTime:$('#screeningTime').val(),
                        humpback:that.blData.humpback,
                        menstruation:that.blData.menstruation,
                        estrogen:that.blData.estrogen,
                        androgen:that.blData.androgen,
                        sport:that.blData.sport,
                        checkResult:that.blData.checkResult,
                        osteoporosis:that.blData.osteoporosis,
                        fracture:that.blData.fracture,
                        diagnosis:that.blData.diagnosis,
                        diagnosisMsg:that.blData.diagnosisMsg,
                        advice:that.blData.advice,
                        riskLevel:that.blData.riskLevel,
                        osta:that.blData.osta,
                        hadBl: that.blData.hadBl,
                        ageForty: that.blData.ageForty,
                        fallFracture: that.blData.fallFracture,
                        oftenFall: that.blData.oftenFall,
                        reduceHeight: that.blData.reduceHeight,
                        lowWeight: that.blData.lowWeight,
                        medicineThreeMonth: that.blData.medicineThreeMonth,
                        arthritis: that.blData.arthritis,
                        thyroid: that.blData.thyroid,
                        menstruationAgo: that.blData.menstruationAgo,
                        androgen: that.blData.androgen,
                        drinkWine: that.blData.drinkWine,
                        smoke: that.blData.smoke,
                        sportLess: that.blData.sportLess,
                        notCalcium: that.blData.notCalcium,
                    },
                    dataType:'json',
                    type:'post',
                    success:function(data){
                        if(data.success){
                            $.ajax({
                                url:"${URL_SCREENING_GETBREADLINE}",
                                dataType:'json',
                                type:'post',
                                success:function(data){
                                    var urlLib = '';
                                    urlLib = JSON.parse(data.data).slice(0,urlLib.length-1)
                                    $.ajax({
                                        url:'${URL_SCREENING_SAVEBREADLINE}',
                                        data:{
                                            breadLine:JSON.stringify(urlLib)
                                        },
                                        dataType:'json',
                                        type:'post',
                                        success:function(data){
                                            alert('保存成功')
                                            console.log(data);
                                            window.parent.$('body,html').animate({scrollTop:0},1);
                                            // that.changeTab(1);
                                            // window.history.go(-1)
                                        }
                                    })
                                }
                            })
                        }
                    }
                })
            },
            toAddMedical() {
                let that = this;
                console.log(that);
                window.parent.showNewModelIframe('${URL_BLONELOOSE_MEDICAL}?idCard=' + that.idCard + '&checkId=' + that.id + '&id=' + '', 800, 600);
            },
            // 用药信息弹窗
            addMedical: function () {
                // 获取用药信息
                let that = this;
                $.ajax({
                    url: "${URL_SCREENING_GETBREADLINE}",
                    dataType: 'json',
                    type: 'post',
                    success: function (data) {
                        breadLine = JSON.parse(data.data)
                        var url = '${URL_INDEX_TOMOREMEDICAL_QH}?id=' + that.infor.id + "&idCard=" + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type
                        breadLine.push({
                            name: '用药信息',
                            href: url
                        })
                        $.ajax({
                            url: '${URL_SCREENING_SAVEBREADLINE}',
                            data: {
                                breadLine: JSON.stringify(breadLine)
                            },
                            dataType: 'json',
                            type: 'post',
                            success: function (data) {
                                parent.showSrc('${URL_INDEX_TOMOREMEDICAL_QH}?id=' + that.infor.id + "&idCard=" + that.infor.idcard + '&diseasesType=' + that.diseasesType + '&type=' + that.Type)
                            }
                        })
                    }
                })
            },
            deletMedical(){
                let that = this;
                var checkedArray = []
                var input = $('.all_id')
                for( var a = 0; a < input.length; a++ ){
                    if( input[a].checked ){
                        checkedArray.push(input[a])
                    }
                }
                if( checkedArray.length != 1 ){
                    var str = '请勾选一条数据修改'
                    window.parent.showNewModelIframe('${URL_COMMON_TOTIPS}?title='+ encodeURI(encodeURI(str)),380,220)
                }else{
                    let type = checkedArray[0].parentNode.childNodes[1].innerText
                    if( type != 1 ){
                        window.parent.showNewModelIframe('${URL_COMMON_TOTIPS}?title='+'该记录由医院同步,不能进行操作',300,200)
                        return
                    }
                    var td = checkedArray[0].parentNode.parentNode.childNodes
                    var id = td[2].firstChild.innerText;
                    $.ajax({
                        url:"${URL_PATIENT_DELETEMEDICALINFO}",
                        dataType:'json',
                        type:'post',
                        data:{
                            ids : id
                        },
                        success:function(data){
                            refreshTable();
                        }
                    })
                }
            },
            UpdateMedical(){
                let that = this;
                var checkedArray = []
                var input = $('.all_id')
                for( var a = 0; a < input.length; a++ ){
                    if( input[a].checked ){
                        checkedArray.push(input[a])
                    }
                }
                if( checkedArray.length != 1 ){
                    alert('请勾选至少一项数据')
                    return
                }else{
                    let type = checkedArray[0].parentNode.childNodes[1].innerText
                    if( type != 1 ){
                        window.parent.showNewModelIframe('${URL_COMMON_TOTIPS}?title='+'该记录由医院同步,不能进行操作',300,200)
                        return
                    }
                    var td = checkedArray[0].parentNode.parentNode.childNodes
                    console.log(td)
                    var medicalFrequency = encodeURI(td[6].innerText)
                    var medicalSpecs = encodeURI(td[5].innerText)
                    var numbers = td[4].innerText
                    var id = td[1].title
                    var medicalId = td[3].title;
                    var medicalname = encodeURI(td[3].innerText)
                    console.log(td[7].children[0])
                    var useType = td[7].children[0].getAttribute('title')
                    var recordTime = td[9].innerText
                    window.parent.showNewModelIframe('${URL_PATIENT_TOUPDATEMEDICAL}?id=' + id
                        + '&medicalId=' + medicalId + '&idCard=' + idcard + '&medicalFrequency=' + medicalFrequency +
                        '&numbers=' + numbers + '&medicalname=' + medicalname + '&diseasesType='+diseasesType+'&recordTime='+recordTime+'&medicalSpecs='+medicalSpecs+'&useType='+useType,800,600);
                }
            },
        },
        watch: {
            checkData: {
                handler() {
                    if (this.checkData.weight != '' && this.checkData.height != '') {
                        if (this.checkData.weight == 0 || this.checkData.height == 0) {
                            this.BMI = 0
                        } else {
                            var Num = parseInt(this.checkData.height) * 0.01
                            this.BMI = parseInt(this.checkData.weight) / (Num * Num);
                            this.BMI = this.BMI.toFixed(2);
                        }
                    } else {
                        this.BMI = ''
                    }
                },
                deep: true
            },
            accompany: {
                handler() {
                    if (this.accompany.weight != '' && this.accompany.height != '') {
                        if (this.accompany.weight == 0 || this.accompany.height == 0) {
                            this.accompanyBMI = 0
                        } else {
                            var Num = parseInt(this.accompany.height) * 0.01
                            this.accompanyBMI = parseInt(this.accompany.weight) / (Num * Num);
                            this.accompanyBMI = this.accompanyBMI.toFixed(2);
                        }
                    } else {
                        this.accompanyBMI = ''
                    }
                },
                deep: true
            }
        }
    });
</script>
</body>
</html>
